[6671] in RedHat Linux List
Re: Stupid passwd tricks: passwd changes wrong user's password
daemon@ATHENA.MIT.EDU (Kyle Ferrio)
Fri Nov 29 11:30:19 1996
Date: Fri, 29 Nov 1996 11:29:35 -0500 (EST)
From: Kyle Ferrio <kbf@phy.duke.edu>
To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.961129031814.32374B-100000@underground.error.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Fri, 29 Nov 1996, IO ERROR wrote:
> Whenever I su to root, and execute the "passwd" command, it reports that it
> changed the password, and that all authentication tokens were updated
> successfully, but instead of changing the root passwd, it changes the passwd of
> the user I su'd from! This is definitely not the behavior I'm accustomed to.
> (The workaround for this is to type "passwd root".)
Try 'su - user' instead of 'su user' to take on the environment of
user and see if passwd picks up the intended uid. If this is the case,
then this isn't a bug per se.
Kyle Ferrio kbf@phy.duke.edu
Duke University, Dept. of Physics (919) 660-2518 office
Box 90305, Durham N.C. 27708-0305, USA (919) 660-2525 FAX
PGP fingerprint = 52 5F 5F 90 AE BD BF 5D 14 FD 20 7D 20 E0 30 59
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null