logon failed

Gunnar Kramm gkramm at speakeasy.net
Tue Oct 26 18:37:20 UTC 2004


On Tue, Oct 26, 2004 at 02:30:18PM -0400, Gu, John A. (US SSA) wrote:
> Alex,
> 
> I did it again using "useradd username" without -p option. Then passwd
> $username followed by 2 type-in. No error, but I still can not use the
> same password at the login as that at the passwd command. I am confused.
> 
> John
> 
> -----Original Message-----
> From: fedora-list-bounces at redhat.com
> [mailto:fedora-list-bounces at redhat.com] On Behalf Of Alexander Dalloz
> Sent: Tuesday, October 26, 2004 1:57 PM
> To: For users of Fedora Core releases
> Subject: Re: logon failed
> 
> Am Di, den 26.10.2004 schrieb Gu, John A. (US SSA) um 19:47:
> 
> > Any user account created (using useradd by root account) does not work
> > at the Fedora logon page. The error message is Authentication Failed.
> I
> > have tried both option -p with useradd and command passwd for the
> > password. They are all successful. A new user directory is created
> under
> > /home.
> 
> > John
> 
> If you pass the "useradd" command any password with parameter "-p" be
> sure it is already encrypted! Else you have a plain text password in the
> /etc/shadow file. Obviously then a login will fail. If you created new
> user accounts followed by setting the password with command "passwd
> $username", then all should be proper. Just take care you have not
> accidentally caps-lock on.
> 
> Alexander
> 
> 
> -- 
> Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
> Serendipity 19:53:46 up 6 days, 16:33, load average: 0.30, 0.28, 0.32 
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

What happens when try to su to the newly created users from another working
user (not root) on the box?

Doing something like following
(as root)
useradd fred
passwd fred
(now type in the password)

Then become a user that you know already works on the box
su fred



-- 
Gunnar vS Kramm
San Francisco, CA
http://www.thekramms.com

gpg public key: 
http://thekramms.com/keys/gkramm.gpg




More information about the fedora-list mailing list