Snort mailing list archives
Re: User add in centOs
From: "Mark W. Jeanmougin" <markjx () gmail com>
Date: Fri, 29 Mar 2013 08:32:45 -0400
On Fri, Mar 29, 2013 at 6:30 AM, Mohammad MontazerI <mohamad_montazery () yahoo com> 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?
Hello Mohammad, 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 example, 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. Thanks, MJ ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Current thread:
- User add in centOs Mohammad MontazerI (Mar 29)
- Re: User add in centOs Mark W. Jeanmougin (Mar 29)