[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] securing "ps"
- Subject: Re: [cobalt-users] securing "ps"
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Thu Nov 15 20:45:38 2001
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Jonathan M. Slivko" <jslivko@xxxxxxxxxxxx> wrote:
> Has anyone here ever successfully secured "ps" on a RaQ4i so it will only
> show the current users proccesses, and not all of the systems proccesses
> when a ps aux is done? Also, are there any good security sites just
devoted
> to Cobalt's that I should look into for securing my system?
I haven't tried, but if I wanted that behavior I'd do something like this:
Move /bin/ps to a new location and give it an obscure name. Right a bash
script that limits what ps outputs and what flags can be used with it (if
that's another concern) and name it /bin/ps and make it chmod 555 or
something else that's appropriate. A quick hack would be something like
#!/bin/sh
ps | grep $USER
That's not a perfect solution, but it'll get you started.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/