0

How to control just some apps to be available on other accounts, Not all of them?

7

1 Answer 1

1

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.

1
  • It was terse. Although I haven't applied it personally yet, but it seems rational. Thanks Jan 29, 2015 at 20:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .