test
[hcoop/zz_old/ikiwiki] / ChangingAdminPassword.mdwn
1 This page describes how admins may change their UNIX password (which is stored in {{{/etc/shadow}}}) on the new machines without disrupting Kerberos.
2
3 1. Run {{{
4 grub-md5-crypt
5 }}}
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.
7 1. Copy the generated hash into the clipboard.
8 1. Log into the machine where you want to change your password.
9 1. Run {{{
10 EDITOR=emacs vipw -s
11 }}}
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.
13 1. Find the entry for your username. Replace the existing password hash for yourself. It will be the second field.
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.