Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Last active August 31, 2016 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyDoggy/d6922694b33b60d9748a537780e7587e to your computer and use it in GitHub Desktop.
Save seyDoggy/d6922694b33b60d9748a537780e7587e to your computer and use it in GitHub Desktop.
to change shell on LDAP system
export SHELL=`which zsh`
# Works on Ubuntu
#[ -z "$ZSH_VERSION" ] && exec "$SHELL" -l
# Works on Fedora
#/usr/bin/szh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment