[mythtv-users] Can I SU to root w/o typing a password?
Steve Hill
steve at nexusuk.org
Fri Jul 18 20:25:55 EDT 2003
On Fri, 18 Jul 2003, John Klimek wrote:
> Now I think I could type "su -c halt" to switch to root, then run halt, but
> it will still prompt me for a password.
Just setuid the halt process as root.
chown root.root halt
chmod 4711 halt
Or use sudo, or set up some passwordless ssh keys (probably a bad idea coz
that really does mean unauthenticated root shell access)
--
- Steve http://www.nexusuk.org/
"..Learning that we're only immortal for a limited time.." - Dreamline, Rush
*** Presented in DoubleVision (Where Drunk) - Futurama ***
More information about the mythtv-users
mailing list