<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>ChangingAdminPassword</title><revhistory><revision><revnumber>4</revnumber><date>2012-09-06 07:14:10</date><authorinitials>ClintonEbadi</authorinitials><revremark>needs work</revremark></revision><revision><revnumber>3</revnumber><date>2008-07-07 04:27:55</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>2</revnumber><date>2008-03-01 20:56:21</date><authorinitials>MichaelOlson</authorinitials><revremark>Fix typo.</revremark></revision><revision><revnumber>1</revnumber><date>2007-10-18 01:56:28</date><authorinitials>MichaelOlson</authorinitials><revremark>Initial contents</revremark></revision></revhistory></articleinfo><tip><para>Merge with <ulink url="https://wiki.hcoop.net/ChangingAdminPassword/AdminUserSetup#">AdminUserSetup</ulink> and <ulink url="https://wiki.hcoop.net/ChangingAdminPassword/AddingNewAdmins#">AddingNewAdmins</ulink> </para></tip><para>This page describes how admins may change their UNIX password (which is stored in <code>/etc/shadow</code>) on the new machines without disrupting Kerberos. </para><orderedlist numeration="arabic"><listitem><para>Run </para><screen><![CDATA[grub-md5-crypt]]></screen><para>and type your password twice.  If you have GRUB installed on your home machine, you can do this there.  Otherwise, log into <code>mire.hcoop.net</code> and do it. </para></listitem><listitem><para>Copy the generated hash into the clipboard. </para></listitem><listitem><para>Log into the machine where you want to change your password. </para></listitem><listitem><para>Run </para><screen><![CDATA[EDITOR=emacs vipw -s]]></screen><para>This opens up <code>/etc/shadow</code> in <code>emacs</code>, and adds a safety net in case you make an error, by refusing to apply your changes if they would cause an error. </para></listitem><listitem><para>Find the entry for your username.  Replace the existing password hash for yourself.  It will be the second field. </para></listitem><listitem><para>Save and quit.  <code>vipw</code> will tell you if there was an error.  If there was not an error, it will apply your changes. </para></listitem></orderedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="https://wiki.hcoop.net/ChangingAdminPassword/CategorySystemAdministration#">CategorySystemAdministration</ulink> <ulink url="https://wiki.hcoop.net/ChangingAdminPassword/CategoryNeedsWork#">CategoryNeedsWork</ulink> </para></article>