[CentOS] Adduser help

Alfred von Campe alfred at 110.net
Fri Mar 9 20:01:52 UTC 2007

On Mar 9, 2007, at 14:39, Robert Moskowitz wrote:

> at http://wiki.openpbx.org/tiki-index.php?page=Easy+route+to 
> +building+OpenPBX.org
> there is the following adduser command:
> adduser --no-create-home --ingroup openpbx --disabled-password -- 
> disabled-login openpbx
> This does NOT seem to be the right format for Centos.  So far,  
> using man, I have come up with;
> adduser -M -g openpbx
> What else do I need?

I think that --disabled-password is the default if you don't specify  
a password, and to disable logins you can use "-s /sbin/nologin" to  
set the account's shell.


More information about the CentOS mailing list