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've been using linux for 6 years, but only now I had the task of creating 2 accounts into one PC. Those 2 accounts are Admin(Mine) and User(My Mother's), the problem is, when she tried to install an application Ubuntu ask for the admin password, but I want her to install and remove wathever software she wants but without all the admin permissions :S...

Is there anyway to do that ?

Thanks in Advance and sorry for my horrible english, Luis Da Costa

share|improve this question

1 Answer 1

up vote 9 down vote accepted

You can configure sudo not to ask for password for any executables you desire for any non admin user you select. Following procedure would make sudo/gksudo/gksu stop asking for password when user named "User" tries to install software CLI way (apt-get) and GUI way (Synaptic Package Mananager, Ubuntu Software Center):

Open /etc/sudoers using your favorite editor, gedit in this example

sudo gedit /etc/sudoers

At the end of /etc/sudoers add:

User ALL= NOPASSWD: /usr/sbin/synaptic, /usr/bin/software-center, /usr/bin/apt-get

Don't forget to replace "User" with desired non administrator user name. Good luck!

share|improve this answer
    
This does not work with 13.04, does it? –  Gediminas Jeremiah Gudelis Sep 8 '13 at 20:35

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.