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.

Can I give certain applications their own rights, e.g. passwords, different from root password?

The reason I want to do this is, apps like compiz, settings manager, that don't need root access. This creates a problem when I show others Ubuntu or let them use it. They may think playing something like this is fine, as it looks like it just changes some effect but the reality is it could break Ubuntu if misused.

I would like others to just use my profile but apps like this make it a risk.

So is this possible?

share|improve this question
I would recommend you to allow others to use the guest session instead of your session. –  devav2 Sep 15 '12 at 17:52
I would like users to still have root access for installing programs or accessing drive partitions but just lock them out of certain programs –  mark kirby Sep 16 '12 at 10:25
you could add a new group, and set the rights accordingly –  mcantsin Mar 23 at 2:46
A user with root access can do anything she wants on the system. So the two requirements - having root access but not being able to use some command - are incompatible. –  Rmano Mar 23 at 4:53
add comment

1 Answer 1

Not very quick for a casual demo but I think the best you can do is to create new users for them (or maybe only 1 other user for all) and configure limited sudo rights with visudo. See sudoers

Obs: changing the user or rights on specifics aplications will probably create a lot of problems for you and won't protect them against root and if you want to allow installation, your users need root rights (sudo).

share|improve this answer
add comment

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.