[mythtv-users] How do I use sudo to write to a root-owned file?

Neil Bird neil at fnxweb.com
Tue Oct 13 13:06:05 UTC 2009


Around about 10/10/09 16:16, Craig Huff typed ...
> Is there a more direct way to accomplish this than to
> create a script just for this and use sudo to invoke the script?

   Probably not, but it's worth doing like that (properly) so you can let 
user mythtv run that (and only that?) script as root via sudo without a 
password.

-- 
[neil at fnx ~]# rm -f .signature
[neil at fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil at fnx ~]# exit


More information about the mythtv-users mailing list