Question bout Sudo

Asked by Trevor

-I am running Ubuntu 7.10-

If I want to give a user the ability to start and stop DNS, how would I go about doing so using Sudo.
Using "user1" as the user for this scenario, what syntax would I need to use to edit the /etc/sudoers file to allow user1 this ability, and what is the command to start and stop DNS from the command line?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
Best Bhavani Shankar (bhavi) said :
#1

Hello

You need to use visudo command as root to edit /etc/sudoers file

Here is a sample sudoers file that can give you more info: Ref:

http://sudo.rtin.bz/sudo/sample.sudoers

Hope it helps

Bhavani Shankar.

Revision history for this message
Trevor (trevor-alexander-email) said :
#2

Thanks Bhavani Shankar, that solved my question.