[mythtv-users] Powering off computer as non-root

Jonathan Tidmore jtidmore at gmail.com
Tue Dec 27 14:54:20 EST 2005

Are you using kde?  Which Display Manager are you using?  GDM, KDM, XDM?

chmod +s /sbin/halt is not a good idea.

On 12/27/05, R. Geoffrey Newbury <newbury at mandamus.org> wrote:
> On Tue, 27 Dec 2005 01:58:15 +0000, Piers Kittel wrote:
> >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?
> put a copy of the program in /home/piers or /home/mythtv as applicable and
> chmod it so that user 'piers'  or 'mythtv' can execute it.
> If user mythtv "owns" mythfrontend, then only mythtv and root will be able
> to execute the shutdown.
> Geoff
> R. Geoffrey Newbury                          newbury at mandamus.org
> Barrister and Solicitor                         Telephone: 905-271-9600
> Mississauga,Ontario, Canada              Facsimile:   905-271-1638
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Jonathan Tidmore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20051227/4d7d80cf/attachment.htm

More information about the mythtv-users mailing list