I'd use "visudo" because it does some checks and keeps you from saving a sudoers file which causes disasters.

The vi editor is a bit odd if you come from the Windows world. Here's some basics on how to use it:


Novell Knowledge Partner (NKP)
Please don't send me support related e-mail unless I ask you to do so.