I am trying to shutdown my Fedora Core 4 server using a plugin that runs remote scripts. However, I have some problems with permissions. In Fedora, the shutdown script is in /sbin The command I pass is su -c "/sbin/shutdown now" or su -c "/sbin/shutdown -k now" for testing!!! However, this command requires for you to be logged in as root. This is no good from slimserver. How can I run the shell script below without root permissions.
#!/bin/bash su -c "/sbin/shutdown now" Thanks Jono -- jonolumb ------------------------------------------------------------------------ jonolumb's Profile: http://forums.slimdevices.com/member.php?userid=1474 View this thread: http://forums.slimdevices.com/showthread.php?t=18073 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
