From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to navigation
Jump to search
|
|
| Line 1: |
Line 1: |
| https://www.digitalocean.com/community/tutorials/how-to-change-account-passwords-on-an-openldap-server
| |
|
| |
| == Change your shell ==
| |
| * Run <code>ldapmodify -x -W -D 'uid=USERNAME,ou=People,dc=vtluug,dc=org'</code>, 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.
| |
|
| |
| [[Category:Services]]
| |
| [[Category:Howtos]]
| |
| [[Category:Pending deletion]] | | [[Category:Pending deletion]] |
Revision as of 01:14, 4 January 2018