UPDATE: changing password and password in /etc/passwd

From: Douglas B. Jones (douglas@gpc.edu)
Date: Fri Jun 28 2002 - 13:49:49 EDT


Hi,

Made a mistake about something below. If I change u_pwd
under edauth to *, it is not changed in /etc/passwd and
the next time I go into edauth, it is back to what is
in /etc/passwd. Now, if I vipw and change that to * or
whatever, that is what is now under edauth. It also appears,
despite the error message below, to reset the password
in both places. We are on Tru64 5.1.

Thanks,
Cheers,
Douglas

> -----Original Message-----
> From: tru64-unix-managers-owner@ornl.gov
> [mailto:tru64-unix-managers-owner@ornl.gov]On Behalf Of Douglas B. Jones
> Sent: Thursday, June 27, 2002 11:07 PM
> To: tru64-unix-managers@ornl.gov
> Cc: Douglas B Jones
> Subject: changing password and password in /etc/passwd
>
>
> Hi,
>
> Two problems right now:
>
> 1) if I try to change a password, via passwd(1) command from
> root, for example:
>
> #passwd douglas
> (choose option 4 for my own pick)
>
> After putting it in twice, I get the following error message:
>
> Password not changed: failed to write protected password entry.
>
> Any ideas why this is so? I can login as douglas, just can't
> change it as root.
>
> 2) my password is encrypted in /etc/passwd. If I look at edauth:
>
> #edauth -g douglas
> I see the u_pwd set to the same as in the /etc/passwd. If I
> do vipw and replace the encrypted password with *, then the
> next time I do the edauth, there is a * in u_pwd. How do I
> make this password not show encrypted in the password file?
> I thought they were supposed to have * for password in this
> visible file and the encrypted one in the tcb. My encrypt
> type is set to 'u_oldcrypt#3' right now.
>
> Thanks,
> Cheers,
> Douglas
>



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:45 EDT