On Wed, 2004-08-18 at 06:55, Alan L Tyree wrote: > The problem is that I have a 95yo neighbour who I have set up with an > old box currently running Redhat 8 and Gnome. But the full Gnome desktop > is really too much for the box, and I would like to replace with a > lightweight desktop. I don't think that she would take too kindly to the > "log in as root, type halt" kind of instruction, so I was looking for an > alternative.
Set up sudo to let her userid run the halt command without a password. Check the sudoers(5) man page, but an untested example would be username ALL = NOPASSWD: /sbin/halt Then add a menu entry or a button on your panel that'll run "sudo /sbin/halt", and you should be sweet. -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
