Difference between revisions of "VTLUUG:LDAP Info"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Mutantmonkey
m
(Undo revision 4132 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]]))
(Tag: Undo)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Change your password ==
+
As of 2019 we use FreeIPA instead of LDAP so this guide is incorrect.
* Run <code>ldappasswd -x -W -S -D 'uid=USERNAME,ou=People,dc=vtluug,dc=org'</code>, where '''USERNAME''' is your username.
+
 
* You will be prompted for a new password twice.
+
https://www.digitalocean.com/community/tutorials/how-to-change-account-passwords-on-an-openldap-server
* Next you will be prompted for your old password, enter it.
 
* Your new password should begin working immediately.
 
  
 
== Change your shell ==
 
== Change your shell ==
Line 12: Line 10:
 
  changetype: modify
 
  changetype: modify
 
  replace: loginShell
 
  replace: loginShell
  loginShell: /usr/bin/zsh
+
  loginShell: /bin/zsh
Replace '''USERNAME''' with your username, and change '''/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 a few 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:Services]]
 +
[[Category:Howtos]]
 +
[[Category:Needs restoration]]

Latest revision as of 22:36, 3 January 2019

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

  • 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.