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.
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.
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.