Re: Adduser help

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



I believe that if you do not provide the -m switch it will not create a user home dir. They will be placed in a group that is the same as their username. If you are creating a service account then you should probably give the user a null shell using -s /sbin/nologin. And if you do not specify a password the account is disabled. This give's you:
 
useradd -s /sbin/nologin openpbx
 
That should do it!
 
On 3/9/07, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> 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?


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



--
Thx
Joshua Gimer
_______________________________________________
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