Re: adduser then passwd in FC2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




[splotch]-[root] /root* adduser test1 [splotch]-[root] /root* passwd test1 Changing password for user test1. New UNIX password:

That's odd.. works for me fine on FC2.. It's in your passwd, and in your shadow.. can you do a 'which passwd' and ensure you are referencing /usr/bin/passwd ? Do you have any external auth mechanisms setup, NIS, Ldap, etc?

Try a 'strace passwd test1' and look out the output (its ugly.. if you aren't familiar with it) and see what files its referencing and checking..

[root@hutch spool]# adduser test1
[root@hutch spool]# passwd test1
passwd: Unknown user name 'test1'.
[root@hutch spool]# grep test /etc/passwd /etc/shadow
/etc/passwd:test1:x:512:513::/home/test1:/bin/bash
/etc/shadow:test1:!!:12622:0:99999:7:::
[root@hutch spool]# finger test1
Login: test1                            Name: (null)
Directory: /home/test1                  Shell: /bin/bash
Never logged in.
No mail.
No Plan.
[root@hutch spool]# ls -l /etc/passwd /etc/shadow
-rw-r--r--  1 root root 3197 Jul 23 19:08 /etc/passwd
-r--------  1 root root 2186 Jul 23 19:08 /etc/shadow

This box is uptodate and otherwise hasn't been exhibiting any strange behaviour. I've done rpm -Va and no binaries have changed. Any idea how to troubleshoot this? This is so strange.

--
</chris>


-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux