Jump to content

How do I restrict access to certain programs?


darkscot
 Share

Recommended Posts

i have got Dansguardian running on my PC and it succesfully blocks 'unsuitable' websites. However I would also like to stop certain users (i.e. my children) using Pan newsreader. What is the best way of doing this? I am using Mandriva One with KDE.

Link to comment
Share on other sites

try restricting access to the pan reader executable to only a certain group that your children do not belong to[1] and then removing the execution bit for the others [2]. you could also explore using sudo to facilitate executing it for yourself.

 

[1] chown or chgrp can help you here, just check the manpages as i am not on a linux machine right now.

[2] chmod 550 /path/to/executable

 

ciao!

Link to comment
Share on other sites

we had the same sort of thing in the office restrict programs to different users.

 

What we did was create groups using "User Administrator" is the easiest

 

Then after the different groups are all created add the users to these groups as you feel fit.

 

Then if you kdesu konqueror. You can find the directories of the programs and then just change the access for the groups required.

 

Then check that the files in the bin directories are changed also to the configuration you want.

 

By altering the programs directories and the bin files you make sure that they cannot get to execute any part of the program you are restricting. Some programs will embed parts of the other program with out actually using the executable.

Link to comment
Share on other sites

Of course, groups! Doh! :wall:

 

Until recently i have never needed to use groups as I have been the only family member who used Linux. But now i have installed this flashy Mandriva with 3D desktop everyone wants to try it out.

Edited by darkscot
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...