Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.