PTrenholme |
11-02-2009 03:22 PM |
Quote:
Originally Posted by JohnGraham
(Post 3741686)
. . . Don't edit the sudoers file by hand though - use the `visudo' command.
Lookup `man sudo' and `man visudo'.
John G
|
You can, in fact, use any editor you want to use to edit the sudoers file. The advantage of visudo is that it validates your syntax before saving the file, but - for systems with only a few users (e.g., family/home systems) - making the changes and testing them is not very burdensome.
Note that, if you're trying to maintain a secure system, you can specify in the sudoers the specific commands that a user may execute as "root."
|