[NTLUG:Discuss] create user account
Burton Strauss
Burton_Strauss at comcast.net
Mon Jan 16 12:51:58 CST 2006
su from root doesn't ask for the password.
Best way to fix this is to su to root, su to the new account and then run
passwd from within the new account.
-----Burton
-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org] On Behalf
Of Charles Cashion
Sent: Monday, January 16, 2006 12:40 PM
To: discuss at ntlug.org
Subject: [NTLUG:Discuss] create user account
I want to create a user account for my grandson.
The computer is running FC4.
when I ran
[root]# useradd -p sonofjohn bcashion
It created entries in /etc/passwd and /etc/shadow and it created
/home/bcashion But when I tried [root]# su bcashion
password: sonofjohn
it would not accept "sonofjohn" as password.
Then I cleaned out what I had created
[root]# userdel bcashion
Then I read "man useradd" and observed that it wanted the password to pass
thru "encrypt(3)" first. So I tried to create the account without a password
[root]# useradd bcashion It created entries in /etc/passwd and /etc/shadow
and it created /home/bcashion And when I tried [root]# su bcashion It did
NOT ask for password and it returned [/home/bcashion ~] So I thought I was
in until I logged completely off and tried to log back in as bcashion. The
login wants a password.
Tnx,
Charles
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list