visudo enhancement to edit-syntax-check arbitrary files
Todd C. Miller
Todd.Miller at courtesan.com
Fri Dec 14 16:05:52 EST 2001
In message <15386.26859.77559.185246 at hprwp.fc.hp.com>
so spake Bob Proulx (rwp):
> Are you running visudo as group 'root' such that you can read the
> file? It triggers a question of how that works since it doesn't seem
> like it should.
Yes, I am in group 0.
> But it poses a new question. Will the new -f and -c options combine
> so that this works?
>
> visudo -c -f /tmp/sudoers.tmp
Yup.
- todd
More information about the sudo-workers
mailing list