changing password and password in /etc/passwd

From: Douglas B. Jones (douglas@gpc.edu)
Date: Thu Jun 27 2002 - 23:06:41 EDT


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