Permissions
Hi all,
I want to give members of my staff access to a program (radute)that only
runs as root. Can this be done without giving full root access ??
If so can someone tell me how?
computer:/usr/local/radius#ls -la
-r-x------ 1 root staff 9105 Mar 2 2000 hsysadm
-r-x---r-x 1 root staff 8854 Mar 2 2000 hwebadm
-r-x------ 1 root staff 4819 Mar 2 2000 ison
-rw-r--r-- 1 root staff 54 Mar 2 2000 pine
-rwx------ 1 root staff 292 Mar 2 2000 rad.sh
-rwxr-xr-x 1 root staff 62096 Mar 2 2000 radute <-----
-r-x---r-x 1 root staff 11596 Mar 2 2000 timeweb
--------------------------------------------------------------------
File: rad.sh
#!/bin/sh
ps ax | grep -v grep | grep radiusd 1>/dev/null
RUNNING=$?
if [ "$RUNNING" -eq "1" ]
then
date >> /var/adm/radius.log.debug
ps ax >> /var/adm/radius.log.debug
/etc/raddb/radiusd-10 -l /var/adm/rad10.log -x &
echo "`date`: Restarting radiusd-10" >> /var/adm/debug.sys
fi
--------------------------------------------------------------------
Thanks in advance
Bill
Reply to: