How to control just some apps to be available on other accounts, Not all of them?
-
1How did you install Chromium on your computer? If you did it from the Software Center, the browser should be available to all users.– pille1842Jan 26, 2015 at 20:33
-
@pille1842 Sorry, you're right. I just edited my question.– DummyBeginnerJan 26, 2015 at 22:09
-
1possible duplicate of How to block specific apps from opening in specific accounts– Jacob VlijmJan 27, 2015 at 10:48
-
1Also look here: askubuntu.com/questions/445145/password-for-apps/445184#445184 and:askubuntu.com/questions/447043/…– Jacob VlijmJan 27, 2015 at 10:50
-
Is the visibility a big issue to you? In the first link, there is also an option to hide the application from Dash ("option 1").– Jacob VlijmJan 28, 2015 at 6:47
1 Answer
You might try changing the permissions of that program. I don't know if you can prevent a user from seeing the file, but you can definitely remove their permission to execute it.
You can remove everyone but the owners right to read, write, and execute the program.
# removing read, write, execute privileges of "group" and "other" from the program file.
sudo chmod go-rwx <program file>
If you want someone else to be able to be able to read, write, or execute that file then you can give the program file "group permissions" and add the the desired users to that files group.
sudo chmod g+rwx <program file>
sudo useradd -G <UserToAddToGroup> <NameOfFilesGroup>
I think if you spend a little time to learn the permission structure you will be able to accomplish what you are wanting to do.
Also, IIRC you could probably use sudoers to achieve your goals as well. This would be more complicated and require some reading.
You can modify sudoers with: sudo visudo
Hope this helps.
-
It was terse. Although I haven't applied it personally yet, but it seems rational. Thanks Jan 29, 2015 at 20:52