ee25310d |
1 | This page describes how admins may change their UNIX password (which is stored in {{{/etc/shadow}}}) on the new machines without disrupting Kerberos.\r |
2 | \r |
3 | 1. Run {{{\r |
4 | grub-md5-crypt\r |
5 | }}}\r |
6 | and type your password twice. If you have GRUB installed on your home machine, you can do this there. Otherwise, log into {{{mire.hcoop.net}}} and do it.\r |
7 | 1. Copy the generated hash into the clipboard.\r |
8 | 1. Log into the machine where you want to change your password.\r |
9 | 1. Run {{{\r |
10 | EDITOR=emacs vipw -s\r |
11 | }}}\r |
12 | This opens up {{{/etc/shadow}}} in {{{vi}}}, and adds a safety net in case you make an error, by refusing to apply your changes if they would cause an error.\r |
13 | 1. Find the entry for your username. Replace the existing password hash for yourself. It will be the second field.\r |
14 | 1. Save and quit. {{{vipw}}} will tell you if there was an error. If there was not an error, it will apply your changes.\r |