some distros have a prog called consolehelper or something like that that may help. if you don't mind all users having the ability to reboot/halt the box you can just do chown +s /sbin/halt or whatever you are calling (/sbin/reboot is generally a symlink to halt).
then of course /sbin isn't usually in a user's PATH, so you will need to modify PATH or just specify the full path when using the command (e.g. run /sbin/reboot instead of just "reboot"). > Hello all, > > Mythfrontend is set to turn off my computer using the command "halt". > Mythfrontend is run as an non-root user - in this case user "piers" - so > when I try to exit MythTV, and I select "Yes, exit and shutdown" - it > jsut says "Command not found". Obviously this command isn't available > to non-root users. So how do I enable the user "piers" to be able to > shut down the computer without opening up too many obvious security holes? > > Thanks very much for your help in advance > > Regards - Piers > _______________________________________________ > mythtv-users mailing list > [email protected] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
