[CentOS] Users
John R Pierce
pierce at hogranch.com
Tue May 5 05:56:28 UTC 2009
nate wrote:
> Jason Todd Slack-Moehrle wrote:
>
>> Hi All,
>>
>> I am confused about users. IIRC, ftp users are just ordinary users on
>> the system (/etc/passwd)
>>
>> Is there an add user wizard from the command-line?
>>
>
> Quick way is typically:
> adduser <username>
> passwd <username>
>
>
actually, useradd is the proper command. adduser is a alias
>> I dont quite get all of the steps to add a user, dont let login except
>> FTP, etc, etc
>>
>
> Here I would run:
> chsh <username>
>
> and set it to something like /sbin/nologin or /dev/null, this will
>
or...
useradd -s /sbin/nologin username
passwd username
and do it in one pass
More information about the CentOS
mailing list