I messed up some config files, now all my users have lost sudo priv :(
Alex Mauer
hawke at hawkesnest.net
Tue Jul 3 18:03:25 UTC 2007
Mario Vukelic wrote:
>> Note that there is a command, 'vigr' which allows you to edit your
>> group file, and then after you're done makes sure it's valid and will
>> not allow you to proceed unless it is.
>
> For completeness's sake, there is also "visudo" which does the same if
> you have to edit /etc/sudoers. Both vigr and visudo require a little vi
> knowledge of course.
To be more complete, there's also 'vipw' for editing /etc/passwd. And
you can select an editor other than vi by setting the VISUAL environment
variable (i.e. 'VISUAL=nano sudo vigr' will use nano rather than vi)
-Alex Mauer "hawke"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070703/650fbfa1/attachment.sig>
More information about the ubuntu-users
mailing list