Oops, please disregard that -p thing.

Problem solved. Despite the error message, passwd still changes the password of that user. I wonder why.


Paolo Dizon wrote:

Yes, they do. Actually, I cannot change the password of *any* non-root user. However, I can change the password for root.

[EMAIL PROTECTED] home]# passwd
Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

If I try to issue -p <password> to adduser, I cannot log in using that password.


Rafael 'Dido' Sevilla wrote:

On Fri, Feb 18, 2005 at 12:19:12PM +0800, Paolo Dizon wrote:


[EMAIL PROTECTED] home]# passwd jlim
Changing password for user jlim.
New password:
BAD PASSWORD: it is based on a dictionary word
Retype new password:
Failed to find entry for user jlim.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Do both /etc/passwd and /etc/shadow have entries for this user? If one file does and the other doesn't, you'll get an error that looks like that.



--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to