<div>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:
</div>
<div> </div>
<div>useradd -s /sbin/nologin openpbx<br> </div>
<div>That should do it!<br> </div>
<div><span class="gmail_quote">On 3/9/07, <b class="gmail_sendername">Robert Moskowitz</b> <<a href="mailto:rgm@htt-consult.com">rgm@htt-consult.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">at<br><a href="http://wiki.openpbx.org/tiki-index.php?page=Easy+route+to+building+OpenPBX.org">http://wiki.openpbx.org/tiki-index.php?page=Easy+route+to+building+OpenPBX.org
</a><br><br>there is the following adduser command:<br><br>adduser --no-create-home --ingroup openpbx --disabled-password<br>--disabled-login openpbx<br><br>This does NOT seem to be the right format for Centos.  So far, using
<br>man, I have come up with;<br><br><br>adduser -M -g openpbx<br><br>What else do I need?<br><br><br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org
</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br><br clear="all"><br>-- <br>Thx<br>Joshua Gimer