Re: Users

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



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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux