sudo config problem

Suvayu Ali fatkasuvayu+linux at gmail.com
Tue Mar 9 16:51:28 UTC 2010


On 09/03/10 04:11 PM, Kari Somby wrote:
>
> I didn't got any messages. Maybe it's because I used nedit and nano to edit
> /etc/sudoers -file.
> Somehow it didn't mess up my system (I messed up my mothers ubuntu :)  ).

The right way to edit files like these is to use visudo. If you are not 
comfortable with vim then you can set the $EDITOR variable to your 
preferred editor and visudo will open up the /etc/sudoers file in your 
editor.

All this is to prevent simultaneous edits of the file. Of course again 
all this precaution was designed keeping a multi-user environment with 
multiple sysadmins in mind. :)

> --
> Kapi

Hope this was helpful.
-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list