Re: Problem adding new user...

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

 



On Tue, 2005-11-08 at 20:49 -0600, Mike McCarty wrote:
> Craig White wrote:
> > On Tue, 2005-11-08 at 20:31 -0600, Mike McCarty wrote:
> > 
> >>Craig White wrote:
> >>
> >>>On Tue, 2005-11-08 at 20:18 -0600, Mike McCarty wrote:
> >>>
> >>>
> >>>>Craig White wrote:
> >>>>
> >>>>
> >>>>>----
> >>>>>reassert the password...
> >>>>>
> >>>>>passwd freddy #assuming you change it back
> >>>>>             # re-enter password - watch out for caps lock key
> >>>>>             # perhaps try a different password to make sure
> >>>>>             # the hash changes in /etc/shadow
> >>>>>
> >>>>>Craig
> >>>>
> >>>>Yep. Same symptoms. I cannot use login to log in as freddy, a
> >>>>newly created user.
> >>>
> >>>----
> >>>create another user...and try.
> >>>
> >>>did you ever manually edit /etc/passwd or /etc/shadow so perhaps there's
> >>>a mismatch between them?
> >>
> >>Nope. I only used useradd, userdel, passwd, usermod, and the Gnome
> >>tools.
> >>
> >>I just tried with another user name, and it fails the same exact
> >>way.
> > 
> > ---
> > can you su ?
> > 
> > su - freddy
> > 
> > Craig
> 
> Yep, no problem.
> 
> In one window...
> 
> 
> [root@Presario-1 root]# useradd freddy
> [root@Presario-1 root]# passwd freddy
> Changing password for user freddy.
> New UNIX password:
> Retype new UNIX password:
> passwd: all authentication tokens updated successfully.
> [root@Presario-1 root]#
> 
> 
> In another window...
> 
> [jmccarty@Presario-1 jmccarty]$ su - freddy
> Password:
> [freddy@Presario-1 freddy]$ pwd
> /home/freddy
> [freddy@Presario-1 freddy]$ whoami
> freddy
> [freddy@Presario-1 freddy]$
> 
> The password I entered was, of course, freddy's.
> 
> However, after exit back to myself,
> 
> [jmccarty@Presario-1 jmccarty]$ login
> login: freddy
> Password:
> Login incorrect
>  
> 
> login:
> 
> I used the same password that worked with su -
----
then clearly your issue isn't with /etc/passwd or /etc/shadow but is
with 'login' command itself which I have never used and a quick perusal
of 'man login' tells me that there are circumstances which may affect
login ability.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

  Powered by Linux