Problem adding new user...

Mike McCarty mike.mccarty at sbcglobal.net
Wed Nov 9 02:49:03 UTC 2005


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 at Presario-1 root]# useradd freddy
[root at Presario-1 root]# passwd freddy
Changing password for user freddy.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root at Presario-1 root]#


In another window...

[jmccarty at Presario-1 jmccarty]$ su - freddy
Password:
[freddy at Presario-1 freddy]$ pwd
/home/freddy
[freddy at Presario-1 freddy]$ whoami
freddy
[freddy at Presario-1 freddy]$

The password I entered was, of course, freddy's.

However, after exit back to myself,

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

login:

I used the same password that worked with su -

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!




More information about the fedora-list mailing list