[Snort-users] User add in centOs
Mark W. Jeanmougin
markjx at ...11827...
Fri Mar 29 08:32:45 EDT 2013
On Fri, Mar 29, 2013 at 6:30 AM, Mohammad MontazerI
<mohamad_montazery at ...131...> wrote:
> Hello dear all.
> i tried to add a user to snort group in the centos with this command:
> useradd snort -d /var/log/snort -s /sbin/nologin -c SNORT_IDS –g snort
> but its not working! any idea?
The "useradd" command creates a new user account. If you're trying to
add an existing user to a group, you'll want the usermod command. For
usermod -a -G snort markjx
the previous command adds the user "markjx" to the group "snort".
This is just Linux admin and isn't specific to CentOS, or anything
else. In fact, it probably works under FreeBSD as well.
More information about the Snort-users