[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: proccess



At 06:31 AM 3/11/02, Sebastiaan wrote:
High,

On Mon, 11 Mar 2002, David Richards wrote:

> hi
>     is there a way of making my system only show the proccess that the user
> is running .
> so when user1 does ps aux it only shows user1 proccess?
>
Yes, just don't give the option to show all users:
ps x or ps ux

See 'ps --help' and 'man ps'

> and will root be able to see all too ?
>
As above: ps x shows only the processes for the user that gives the
command (root in this case), but ps ax shows all. AFAIK there is no
privacy which user runs which command.

For this case you should be carefull to give passwords in commandline on
multiuser systems.

the only way I can think of keeping people from using ps -ax is to set an
alias up that when they type ps -ax points to ps -x for that user. Someone
with clue though will just just the absolute path for the file that they want, or
will change their alias list.

I don't see a problem with users seeing everyone else programs. Is there
a reason why you don't want users to use that command?



Reply to: