[3773] in testers
Re: Changing root password using passwd in 8.2.7
daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jul 14 16:35:38 1998
To: "Naomi B. Schmidt" <nschmidt@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: Your message of "Tue, 14 Jul 1998 16:25:58 EDT."
<199807142025.QAA01678@MOZART.mit.edu>
Date: Tue, 14 Jul 1998 16:35:26 EDT
From: Greg Hudson <ghudson@MIT.EDU>
>>It's potentially a bug. How did you become root?
> su -r
/usr/bin/passwd is deciding based on your utmp entry to change the
password for "nschmidt" instead of "root". (Why nschmidt doesn't
exist in the shadow file, I'm not sure.) If you run "passwd root",
the right thing will happen.
I'll submit a patch to make /usr/athena/bin/passwd run /usr/bin/passwd
with an argument in all cases.