Archive for May, 2008
Edit Sudoers File - visudo
Monday, May 5th, 20081) Open the sudoers file safely:
visudo command edits the sudoers file in a safe fashion.
Attention: you can only run visudo as root
This is a vi editor. Here are some basic vi commands:
To enter vi insert mode: i
To enter vi command mode: [esc]
To exit vi and save changes: ZZ or :wq
To exit vi […]