Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restrict process list

Status
Not open for further replies.

dbase77

Technical User
Apr 23, 2002
591
IE
Hi all,

I just wondering if there is any way I could restrict process list by user. What I want to achieve here is to block user from see a list of all running process.

Thank you.

regards,
feroz
 
create a group 'psgrp'
add this to the users allowed to run ps in /etc/group.
chmod a-x /bin/ps
chgrp psgrp /bin/ps -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
You could change the permissions of the 'ps' binary by doing a chmod 500 /usr/bin/ps. But that wouldn't prevent users getting another copy of the binary... maybe if you only allowed them to work in a chroot() environment and didn't mount /proc. Annihilannic.
 
Hi,

Thank you for replying. But if I change the persmission or set extra group user wont be able to use the ps command. At least I want the user see their on process. And not system process. I know that I can do this on other unix flavour. Any other way I could achieve this?

Thank you.

regards,
feroz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top