[NTLUG:Discuss] create user account

Terry trryhend at gmail.com
Mon Jan 16 14:02:00 CST 2006


Try:

# adduser bcashion
# passwd bcashion

On 1/16/06, Charles Cashion <papacharles at dunjas.com> wrote:
> 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