Run "ls -l /usr/bin/passwd". This is one of the few commands that has suid root permissions. This allows a regular user to change his own password, which requires editing /etc/passwd and /etc/shadow.
Also post the contents of /etc/pam.d/passwd and if it exists /etc/pam.d/password-common.
Post any /var/log/messages log message for when you ran passwd. E.G.
Jul 24 10:16:01 qosmio passwd[17818]: password changed - account=jschiwal, uid=1000, by=1000
---
I'm not certain what you mean by your sudoer account. A sudoer isn't root, and the root account is disabled in Ubuntu.
Last edited by jschiwal; 07-24-2010 at 10:20 AM.
|