On 2011-12-20 11:00 AM, Florian Philipp <li...@binarywings.net> wrote:
You should probably also restrict which files can be edited (not
/etc/passwd, /etc/shadow or /etc/sudoers, for sure!). You can do this
with globs. For example:
%sudoroot       sudoedit/var/www/*

Great, that helps... but...

He wants to use nano, so I set this up for nano, but there is one little issue...

He sometimes uses different flags with nano (ie, 'nano -wc filename') - is there a way to specify the use with or without flags? I know you can use:

/bin/nano -* /etc/apache2/*,

But this fails if no flags are specified.

Reply via email to