bash: useradd: command not foundI would think would simply indicate that either useradd is not in the directory, or maybe it is not set executable.
Jim Matuska Jr. Computer Tech II CCNA Nez Perce Tribe Information Systems [EMAIL PROTECTED]
----- Original Message ----- From: "Ken Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 1:05 PM
Subject: [sniffer] Sniffer setup
Hello, I'm setting sniffer on a redhat 9 machine,
i just started the setup and i'm getting this error:
[EMAIL PROTECTED] Source]# useradd -g 93 -u 93 -c "Spam Filter" -d /bin/false -s /bin/false snfilter bash: useradd: command not found [EMAIL PROTECTED] Source]# chown snfilter /var/spool/snfilter /var/spool/snfilter/msg chown: `snfilter': invalid user [EMAIL PROTECTED] Source]# cd /var/spool/snfilter [EMAIL PROTECTED] snfilter]# chown snfilter sniffer snfrv2r3.exe snfrv2r3.snf chown: `snfilter': invalid user [EMAIL PROTECTED] snfilter]# chmod 500 snfrv2r3.exe sniffer [EMAIL PROTECTED] snfilter]# chmod 600 snfrv2r3.snf [EMAIL PROTECTED] snfilter]#
i was using the setup info from http://sortmonster.com/MessageSniffer/Help/UserScripts/Readme_Postfix.txt
groupadd -g 93 snfilter useradd -g 93 -u 93 -c "Spam Filter" -d /bin/false -s /bin/false snfilter chown snfilter /var/spool/snfilter /var/spool/snfilter/msg cd /var/spool/snfilter chown snfilter sniffer snfrv2r3.exe snfrv2r3.snf chmod 500 snfrv2r3.exe sniffer chmod 600 snfrv2r3.snf
does any one know why this isn't working for me? or know of some commands that would work for insted of useradd?
thanks in advance for your time! -ken
--- [This E-mail scanned for viruses by Declude Virus]
This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html
This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html
