changing password and password in /etc/passwd

From: Douglas B. Jones <douglas_at_gpc.edu>
Date: Thu, 27 Jun 2002 23:06:41 -0400

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
Received on Fri Jun 28 2002 - 03:05:28 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT