Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to this and I am trying to create users and groups. So far, I have the following:

sudo adduser Alice
sudo adduser Bob
sudo adduser Mike
sudo adduser Bill

#create groups
sudo groupadd student
sudo groupadd admin

#add users to groups
sudo adduser Alice student
sudo adduser Bob student
sudo adduser Mike student
sudo adduser Bill admin

I want to modify /etc/sudoers so that any admin can run /bin/kill as any user.

I am also looking to set passwords, which I am not familiar with.

Any assistance is greatly appreciated.

share|improve this question
add comment

1 Answer

In the terminal open up sudo visudo

Add the entry: %admin ALL=(ALL) /bin/kill

You set the passwords with the passwd <user> command.

share|improve this answer
    
Is there a ceratin location that I have to add %admin ALL=(ALL) /bin/kill? –  Macenbro Sep 30 '13 at 12:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.