LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-18-2004, 08:38 PM   #1
kzumba
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
help


hello I have question the question is

how can I trun off access to normal shell users

ex
when user A logs in his shell and you type ps -aux you can see everything thats running on the system on there how can I dissallow ps -aux for user A and long with w who and a few other ones. but the most important is ps -aux
 
Old 09-18-2004, 09:02 PM   #2
cyberliche
Member
 
Registered: Aug 2004
Location: Atlanta
Distribution: Slackware 10
Posts: 85

Rep: Reputation: 15
Well you could change the permissions on ps so no one but root could execute it, but this might possibly break something that calls ps (I can't think of anything off the top of my head that does tho).

Why would you need to disallow access to ps , w, and who? The only thing I can think of is for something malicous.
 
Old 09-18-2004, 09:11 PM   #3
kzumba
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
well so no eyes can see whos online and also so no normal user cant see whats running on the box

thats the only resaon i have that crazy idea
 
Old 09-18-2004, 09:16 PM   #4
cyberliche
Member
 
Registered: Aug 2004
Location: Atlanta
Distribution: Slackware 10
Posts: 85

Rep: Reputation: 15
Honestly, if your that worried about having your users know whats running and who else is online, I would seriously consider not giving those users a login shell.
 
Old 09-19-2004, 08:49 AM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
You can also try putting users in a chroot jail or using the grsecurity patch. Both have the ability to prevent users from seeing each others proceses as well as other nice security-related features.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration