Re: Problem adding new user...

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

 



Thomas Springer wrote:
Am Dienstag, den 08.11.2005, 13:55 -0600 schrieb Mike McCarty:

I am having a problem adding a new user. Perhaps I don't understand
the shadow file or sth.

I use FC2 with GNOME. I used at first the command-line I/F since
I'm more familiar and more comfortable with that technique of
sys admin.


[snip]


[jmccarty@Presario-1 jmccarty]$ login
login: freddy
Password:
Login incorrect


What am I missing?

Mike
--


I also did that and got the same result here with FC4.

There's nothing related to that in

/var/log/secure
/var/log/messages
/var/log/audit/audit.log

Couldn't find anything helpful in
rpm -q --changelog util-linux | grep login
<search> site:bugzilla.redhat.com

Then I thought of how one could strace `login` ?  ? ?

Hopefully someone else can tell what's happening.


Thomas


I have more from /var/log/messages

(1) Nov 8 19:35:50 Presario-1 su(pam_unix)[31141]: session opened for user root by jmccarty(uid=500) (2) Nov 8 19:38:20 Presario-1 passwd(pam_unix)[31179]: password changed for freddy (3) Nov 8 19:38:22 Presario-1 su(pam_unix)[31141]: session closed for user root (4) Nov 8 19:38:28 Presario-1 login(pam_unix)[31181]: authentication failure; logname=jmccarty uid=500 euid=500 tty=pts/4 ruser$Nov 8 19:38:31 Presario-1 login[31181]: FAILED LOGIN 1 FROM (null) FOR freddy, Authentication failure
(5) Nov  8 19:38:31 Presario-1 login(pam_unix)[31181]: bad username []
(6) Nov 8 19:38:34 Presario-1 login[31181]: FAILED LOGIN 2 FROM (null) FOR , Authentication failure
(7) Nov  8 19:38:34 Presario-1 login(pam_unix)[31181]: bad username []
(8) Nov 8 19:38:36 Presario-1 login[31181]: FAILED LOGIN 3 FROM (null) FOR , Authentication failure
(9) Nov  8 19:38:37 Presario-1 login(pam_unix)[31181]: bad username []
(10)Nov 8 19:38:39 Presario-1 login[31181]: FAILED LOGIN SESSION FROM (null) FOR , Authentication failure (11)Nov 8 19:38:51 Presario-1 su(pam_unix)[31184]: session opened for user root by jmccarty(uid=500)

(1) is me going su - to create the freddy user
(2) is me changing his password using passwd
(3) is me exiting back to myself
(4)-(10) is my trying to use login to log on as freddy, failing, then
just hitting return until login quit trying
(11) is me su - to root so I can get the content of /var/log/messages
for this e-mail

[root@Presario-1 root]# finger freddy
Login: freddy                           Name: (null)
Directory: /home/freddy                 Shell: /bin/bash
Never logged in.
No mail.
No Plan.
[root@Presario-1 root]#

Does this have something to do with freddy not being propagated
to the shadow file?

Nope, I just checked...

[root@Presario-1 root]# grep freddy /etc/shadow
freddy:$1$mMzZcWPf$TubCOWrHFsylDJnnO04qH1:13096:0:99999:7:::
[root@Presario-1 root]#

I did a usermod -c "Freddy" freddy and it took and finger
now shows this Name: rather than (null), but logins still
do not work.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


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

  Powered by Linux