On Tue, Apr 22, 2008 at 12:55:17AM +0100, Chris Lamb wrote:
Alex Owen wrote:
The above should work... but read visudo man page...
This is all totally pointless. Just append your line to /etc/sudoers in a
live-initramfs hook: this is what it does itself, so it's difficult to see
why you
On Tue, Apr 22, 2008 at 12:55:17AM +0100, Chris Lamb wrote:
Alex Owen wrote:
The above should work... but read visudo man page...
This is all totally pointless. Just append your line to /etc/sudoers in a
live-initramfs hook: this is what it does itself, so it's difficult to see
Hmm... Not sure why you dislike /etc/sudoers so much... that is the
only way to configure sudo!
If you hate sudo that much why not use apache's suexec for example...
or suphp ... again these need configuring.
You may be able to do someting with selinux... but that is beyond
me... mind you it may
On Mon, Apr 21, 2008 at 04:50:46PM +0100, Alex Owen wrote:
You could do something with the $EDITORS environment variable to
call a custom script... but then visudo thinks of that and tries to
stop you...
VISUAL=mg visudo ?
___
debian-live-devel
NO...
Think about it people...
~/bin/myedit:
---8---
#/bin/bash
LINE=www-data ALL=NOPASSWD:/usr/share/rapid-scripts/sudo_helper
if ! fgrep -q $LINE $1 ; then
echo $LINE $1
fi
---8---
chmod u+x ~/bin/myedit
EDITOR=~/bin/myedit visudo
The above should work... but read visudo man page...
Alex Owen wrote:
The above should work... but read visudo man page...
This is all totally pointless. Just append your line to /etc/sudoers in a
live-initramfs hook: this is what it does itself, so it's difficult to see
why you could have any qualms about doing so too.
Regards,
--
Chris
6 matches
Mail list logo