VTLUUG:LDAP Info: Difference between revisions

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to navigation Jump to search
imported>Mutantmonkey
No edit summary
imported>Mutantmonkey
No edit summary
Line 6: Line 6:
  changetype: modify
  changetype: modify
  replace: loginShell
  replace: loginShell
  loginShell: /in/zsh
  loginShell: /bin/zsh
Replace '''USERNAME''' with your username, and replace '''/bin/zsh''' with your desired shell if zsh isn't what you want.
Replace '''USERNAME''' with your username, and replace '''/bin/zsh''' with your desired shell if zsh isn't what you want.
* Press Ctrl-D, wait about 10 minutes, then log back in. Your new shell should work.
* Press Ctrl-D, wait about 10 minutes, then log back in. Your new shell should work.

Revision as of 01:41, 1 April 2013

Change your shell

  • Run ldapmodify -x -W -D 'uid=USERNAME,ou=People,dc=vtluug,dc=org', where USERNAME is your username.
  • You will be prompted for your password, enter it.
  • Now type the following:
dn: uid=USERNAME,ou=People,dc=vtluug,dc=org
changetype: modify
replace: loginShell
loginShell: /bin/zsh

Replace USERNAME with your username, and replace /bin/zsh with your desired shell if zsh isn't what you want.

  • Press Ctrl-D, wait about 10 minutes, then log back in. Your new shell should work.