Re: ps command

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

 



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@xxxxxxxxxxxx> 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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux