Bdale Garbee wrote:
You raise an interesting point about sudoedit, though. It's a separate
source file from visudo. A patch so sudoedit uses /usr/bin/editor while
having visudo use /usr/bin/vi might make sense?
Actually I could also imagine /in addition to your suggestion/ to allow
editing the sudoers file with sudoedit. That way there is no need for a
new command since root is in sudoers by default.
From my understanding what would be lost is:
a) System wide lock of the file being edited
[An option to create these kind of locks for sudoedit seems
like a useful feature in general]
b) Semantic verification of the sudoers file.
I'm not sure if b) is important enough to add an option like
sudoedit --sudoers
which could mirror the sematics of visudo.
[I realize that currently sudo(edit) only has single character options,
but I haven't been able to identify an intuitive single letter option
for this feature request.]
If you find this approach acceptable I could open a new feature request.
Cheers,
David
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]