Difference between revisions of "VTLUUG:LDAP Info"
imported>Mjh (Categorization) |
|||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | As of 2019 we use FreeIPA instead of LDAP so this guide is incorrect. | ||
+ | |||
+ | https://www.digitalocean.com/community/tutorials/how-to-change-account-passwords-on-an-openldap-server | ||
+ | |||
== Change your shell == | == Change your shell == | ||
* Run <code>ldapmodify -x -W -D 'uid=USERNAME,ou=People,dc=vtluug,dc=org'</code>, where '''USERNAME''' is your username. | * Run <code>ldapmodify -x -W -D 'uid=USERNAME,ou=People,dc=vtluug,dc=org'</code>, where '''USERNAME''' is your username. | ||
Line 6: | Line 10: | ||
changetype: modify | changetype: modify | ||
replace: loginShell | replace: loginShell | ||
− | loginShell: | + | loginShell: /bin/zsh |
− | Replace '''USERNAME''' with your username, and replace ''' | + | 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. | ||
− | [[Category: | + | [[Category:Services]] |
[[Category:Howtos]] | [[Category:Howtos]] | ||
+ | [[Category:Deprecated]] |
Latest revision as of 09:26, 20 December 2024
As of 2019 we use FreeIPA instead of LDAP so this guide is incorrect.
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.