ps command

Will McDonald wmcdonald at gmail.com
Wed Jul 20 15:53:12 UTC 2005


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.




More information about the redhat-list mailing list