Heh. Fair enough.
OK playing the devil's advocate now...
If I disable the need of the password, isn't that a lot more dangerous
than just enabling anyone to use halt - I mean, now anyone can be "root"
without needing a password? Someone malciously invoking halt can be
annoying but at the end of the day, it just turns off the computer
without destroying anything?
Also if I pass the password, wouldn't it be viewable in mythtv setup? I
mean, if someone browses my setup screens (unlikely I guess, but bear
with me) and spots the password and goes "Ooooh!" ?
I'm sure the answers to those 2 are in the man pages for sudo I guess? :)
Cheers - Piers
Jason W. wrote:
You obviously haven't read "man sudo" then. :)
You can
1) disable the need for password
2) pass the password in on standard in (in the command string).
Sudo is the easiest (and safest) way to do what you want.
P.S. you will also want to read "man visudo".
Piers Kittel wrote:
Yeah thought of that, but don't you need to type in a password anyway?
Cheers - Piers
Kim Wall wrote:
Piers Kittel wrote:
Just need to figure out how to power off the computer as non-root ;)
man sudo :)
------------------------------------------------------------------------
_______________________________________________
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