I guess this is not quite a security question, but sort of is . For NESSUS you have to run "nessusd -D" which requires root. I am the only one on my computer so I do not want to have to "su -" every time I want to use NESSUS so I was trying to write a shell script, but I am not sure how to do it so that it allows for either root to run "nessusd -D." I do realize it may not be the safest thing, but if you have any idea's those are welcom as well. Here's my script.

Code:
#!/bin/csh
su -
***************************(censored :D)
cd /usr/local/sbin
./nessusd -D
exit
cd /usr/local/bin
./nessus