welcome: please sign in

Diff for "ChangingAdminPassword"

Differences between revisions 1 and 2
Revision 1 as of 2007-10-18 01:56:28
Size: 904
Editor: MichaelOlson
Comment: Initial contents
Revision 2 as of 2008-03-01 20:56:21
Size: 907
Editor: MichaelOlson
Comment: Fix typo.
Deletions are marked like this. Additions are marked like this.
Line 12: Line 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.  This opens up {{{/etc/shadow}}} in {{{emacs}}}, and adds a safety net in case you make an error, by refusing to apply your changes if they would cause an error.

This page describes how admins may change their UNIX password (which is stored in /etc/shadow) on the new machines without disrupting Kerberos.

  1. Run

    grub-md5-crypt

    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.

  2. Copy the generated hash into the clipboard.
  3. Log into the machine where you want to change your password.
  4. Run

    EDITOR=emacs vipw -s

    This opens up /etc/shadow in emacs, and adds a safety net in case you make an error, by refusing to apply your changes if they would cause an error.

  5. Find the entry for your username. Replace the existing password hash for yourself. It will be the second field.
  6. Save and quit. vipw will tell you if there was an error. If there was not an error, it will apply your changes.

ChangingAdminPassword (last edited 2012-09-06 07:14:10 by ClintonEbadi)