BTW, If you'd like to use an editor other than vi, the visudo man page describes the editor and env_editor variables. (My preferred editor is the X2 Programmer's Editor by Blair W. Thompson <http://www.tangbu.com/x2main.shtml>)
From the visudo man page: editor A colon (':') separated list of editors allowed to be used with visudo. visudo will choose the editor that matches the user's EDITOR environment variable if possible, or the first editor in the list that exists and is executable. The default is the path to vi on your system. env_editor If set, visudo will use the value of the EDITOR or VISUAL environment variables before falling back on the default editor list. Note that this may create a security hole as it allows the user to run any arbitrary command as root without logging. A safer alternative is to place a colon-separated list of editors in the editor variable. visudo will then only use the EDI TOR or VISUAL if they match a value specified in editor. This flag is on by default. Leslie Turriff On Wednesday 31 December 2008, Smith, Ann (ISD, IT) wrote: > I need to update sudoers and don't know proper procedure. > Figured I'd ask before I mess it up. I did at least create a backup of > /etc/sudoers ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390