a) use visudo when you edit the sudoers file b) do man 5 sudoers, it has all the examples you need.
On 10-Mar-99 Eliezer Figueroa wrote: > I added this line to the /etc/sudoers file: > > efigueroa /sbin/shutdown -h now > > after that I loged in as efigueroa an tried to run this command: > > sudo shutdown -h now > > Then I recived this error: > >>>> sudoers file: parse error, line 16 <<< > sorry, there is a fatal error in the sudoers file. > > > I check out and found that line 16 was the line that I added. Where is > the problem?