On Mon, Jun 27, 2005 at 11:50:23AM -0500, Kent West wrote:
Bj?rn Lindstr?m wrote:Saverio Trioni <saverio.trioni@gmail.com> writes:you have to edit the file /etc/sudoers with the command 'visudo', for security reasons. For this, you have to get used to the editor 'vi'.In fact you don't. I, for instance, make it use nano, by setting the EDITOR environment variable to 'nano'.I believe that "visudo" simply locks the file so that others can't edit it at the same time you're editing it. You can also set a different editor to be used with the command. See "man sudo" for more info.
visudo also does syntax and sanity checking, so that you can't use illegal syntax in the file. Makes it easier to not break sudo. -- Steve Block http://ev-15.com/ http://steveblock.com/ scblock@ev-15.com