Root rights to a shell script?

From: ert weerr (sun1sol@yahoo.com)
Date: Thu Feb 17 2005 - 23:26:24 EST


Guys,

I'm writing a shell script to monitor the
server performance and hardware status informations.
The normal users need to use this script without root
access.

Some commands need root rights to run them and I
already tried to set the SUID bit on the script
in order to run raidutil, ndd, etc.
Unfortunately I still have to su to root to be able to
use this part of the script...

Do you know what else I should set?
I don't want to change the permissions on the binary
files.

Thanks in advance!

John

                
__________________________________
Do you Yahoo!?
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:12 EDT