From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,484b643516925ef0 X-Google-Attributes: gidfee84,public From: "PAUL D. CHAPIN" Subject: Re: dUnix passwd command Date: 1996/08/12 Message-ID: #1/1 X-Deja-AN: 173693468 references: <199608120704.RAA09562@atom.ansto.gov.au> content-type: TEXT/PLAIN; charset=US-ASCII organization: Amherst College, Amherst MA, USA mime-version: 1.0 newsgroups: comp.unix.osf.osf1 > Could the difference be that > a. if you do it as a user, then you are always prompted for the old > password. > b. If you are root, you are not expected to know the user passwd thus > you are not asked for it. > That's what it's suppose to do. You can imagine my surprise when I tried to change my personal user password while root and was asked for the old password. My immediate reaction what that if it does this for everybody, I'm in deep trouble since resetting passwords for people who forgot them is common occurance. However, since this appears to only apply to me, it's not a big deal since a) I don't forget my password and b) I can always walk down to the system console if I have to. > Try running 'which passwd' to see where the passwd command is being run from. > On my system, the user runs /usr/ucb/passwd and root runs /usr/bin/passwd. > On this system /usr/ucb and /usr/bin get you the same place. Paul Chapin Unix Systems Manager Amherst College