Hi Bodhi,
I seem to be able to run snort using the command you used in the script ie. when I do this:
I get this:Code:/usr/local/bin/snort -c /etc/snort/snort.conf -u snort -g snort -D
But when I issue the two commands that run the script, nothing happens:Code:root@thunder:/usr/share/doc# ps aux | grep snort
root 25753 0.0 0.0 3220 844 pts/1 S+ 17:35 0:00 more snort
root 25759 0.0 0.0 2076 540 pts/2 R+ 17:36 0:00 grep snort
root 30336 0.0 0.1 6464 2552 pts/0 S+ 12:50 0:00 mysql -u snort -p snort
root@thunder:/usr/share/doc#
Code:@thunder:~$ sudo /etc/init.d/snort restart
@thunder:~$ sudo /etc/init.d/snort boot
@thunder:~$ ps -ef | grep snort
root 30336 30272 0 12:50 pts/0 00:00:00 mysql -u snort -p snort
31127 30529 0 12:56 pts/1 00:00:00 grep snort
@thunder:~$ cd /etc/init.d/
@thunder:/etc/init.d$ ls