On Mon, Apr 21, 2008 at 04:50:46PM +0100, Alex Owen wrote:
> In theory you should use "visudo" to edit /etc/sudoers.. this adds
> file locking and verification.
That's not really what I care about . Nothing elase is running and I did
verify it off-line. I tried fitting a sed one-liner as an EDITOR, but
that doesn't seem to work:
debian:~# EDITOR="sed -i -e '\$awww-data
ALL=NOPASSWD:/usr/share/rapid-scripts/sudo_helper' " visudo
visudo: specified editor (sed -i -e '$awww-data
ALL=NOPASSWD:/usr/share/rapid-scripts/sudo_helper' ) doesn't exist!
But that's a really technical issue. My main issue is with the fact that
my package needs to edit /etc/sudors . Works? sure. Elegant? no. Will
work for the live CD. Will fail later in real life.
--
Tzafrir Cohen
icq#16849755 jabber:[EMAIL PROTECTED]
+972-50-7952406 mailto:[EMAIL PROTECTED]
http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir
_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel