ps command

Akhthar Parvez. K akhthar at carmatec.com
Fri Jul 22 08:54:35 UTC 2005


Hi,

This is not for a particular user only, but for all users except root. Is 
there any sysctl directive which prevents the users to view the processes
owned by others.

On Wednesday 20 July 2005 21:23, Will McDonald wrote:
> On 20/07/05, Akhthar Parvez. K <akhthar at carmatec.com> wrote:
> > Hi,
> >
> > When I run the command ps -awux from a user's bash shell(not root), it's
> > listing the processes under the particular user only. In some servers,
> > it's showing all processes as normal including the processes of users
> > such as root.
> >
> > Can anyone tell me why it's showing the processes of same user only when
> > running the command ps -awux from the bash shell of him.
>
> Are any of the ps environment variables set under the problem user's shell?
>
> PS_PERSONALITY
> CMD_ENV
> I_WANT_A_BROKEN_PS
> PS_FORMAT
> PS_SYSMAP
> PS_SYSTEM_MAP
> POSIXLY_CORRECT
> POSIX2
> UNIX95
>
> If so, try unsetting them and trying again with the default behaviour.
>
> Will.

-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
---------------------
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE




More information about the redhat-list mailing list