Difference between revisions of "Reset password"
Jump to navigation
Jump to search
(Created page with "== For CS side == Use the following steps to change password for a user with the name userName # SSH to net.cs.earlham.edu and sudo to root using command: <tt>sudo su - </tt>...") |
|||
Line 6: | Line 6: | ||
# Run this command: <tt> ldapmodify -f chg-pw.ldif -D "cn=admin,dc=cs,dc=earlham,dc=edu" -W -x </tt> | # Run this command: <tt> ldapmodify -f chg-pw.ldif -D "cn=admin,dc=cs,dc=earlham,dc=edu" -W -x </tt> | ||
# Enter the LDAP password for CS when prompted | # Enter the LDAP password for CS when prompted | ||
+ | # The password when trying to ssh to userName@home.cs.earlham.edu will be 123.abc (default). The user can change it using command <tt>passwd</tt> | ||
== For Cluster side == | == For Cluster side == | ||
Line 15: | Line 16: | ||
# Run this command: <tt> ldapmodify -f chg-pw.ldif -D "cn=Manager,dc=cluster,dc=loc" -W </tt> | # Run this command: <tt> ldapmodify -f chg-pw.ldif -D "cn=Manager,dc=cluster,dc=loc" -W </tt> | ||
# Enter the LDAP password for Cluster when prompted | # Enter the LDAP password for Cluster when prompted | ||
+ | # The password when trying to ssh to userName@hopper.cluster.earlham.edu will be 123.abc (default). The user can change it using command <tt>passwd</tt> |
Revision as of 21:37, 17 January 2017
For CS side
Use the following steps to change password for a user with the name userName
- SSH to net.cs.earlham.edu and sudo to root using command: sudo su -
- cd to folder /root/ldap-files
- Modify the chg-pw.ldif file by replacing the uid=previousUsername to uid=userName
- Run this command: ldapmodify -f chg-pw.ldif -D "cn=admin,dc=cs,dc=earlham,dc=edu" -W -x
- Enter the LDAP password for CS when prompted
- The password when trying to ssh to userName@home.cs.earlham.edu will be 123.abc (default). The user can change it using command passwd
For Cluster side
Use the following steps to change password for a user with the name userName
- SSH to hopper.cluster.earlham.edu and sudo to root using command sudo su -
- cd to folder /root/ldap-files
- Modify the chg-pw.ldif file by replacing the uid= previousUsername to uid=userName
- Run this command: ldapmodify -f chg-pw.ldif -D "cn=Manager,dc=cluster,dc=loc" -W
- Enter the LDAP password for Cluster when prompted
- The password when trying to ssh to userName@hopper.cluster.earlham.edu will be 123.abc (default). The user can change it using command passwd