Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: restricted /proc
PostPosted: Fri Jul 25, 2008 7:38 pm 
Offline
Senior Newbie

Joined: Sat Jan 19, 2008 9:39 pm
Posts: 10
Website: http://jacob.peddicord.net/
I know security through obscurity is not the best practice, but I'd like to know if it's possible to restrict a user's process access to only their own. So, if a user were to check top, ps, or whatever, they would only be able to see their own processes. Keeps people from snooping on each other and cleans up the process list view.

There is a kernel patch that does this by changing permissions of nodes in /proc to 500 or 550, but since this is Xen that isn't possible. Is there a way to accomplish this with a kernel module, or maybe even jailed processes/shells using AppArmor?


Top
   
 Post subject:
PostPosted: Fri Jul 25, 2008 9:24 pm 
Offline
Senior Newbie

Joined: Fri May 30, 2008 11:19 am
Posts: 11
I am pretty sure you can do what you want by chrooting ssh. Below is howto based on debian but you should be able to adapt to just about anything.

http://www.howtoforge.com/chrooted_ssh_howto_debian


Top
   
 Post subject:
PostPosted: Fri Jul 25, 2008 11:32 pm 
Offline
Senior Newbie

Joined: Sat Jan 19, 2008 9:39 pm
Posts: 10
Website: http://jacob.peddicord.net/
fendrish78 wrote:
I am pretty sure you can do what you want by chrooting ssh. Below is howto based on debian but you should be able to adapt to just about anything.

http://www.howtoforge.com/chrooted_ssh_howto_debian


Seems a little overkill. It's a possibility, but one of the last I'd want. Chroots are a pain to get going and maintain during server restarts and the like.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group