it's chmod not chown - but that fixed the problem.  Brilliant - thanks! :)

Not too worried about any users being able to power the computer off - nothing essential on that, just the frontend, and there's only 2 users - "root" and "piers" and nothing else :)

Thanks very much for your help again!

Regards - Piers

Nick wrote:
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
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to