Mail from ILUG-BOM list (Non-Digest Mode)
_______________________________________________


> If I try to run ps in a xterm, I get an error message saying that
> "This /bin/ps is not secure for setgid operation"
> Permissions on /bin/ps are 0555.
> It runs perfectly well from a regular shell prompt.
> This has started happening just now, no new programs installed, Red Hat 
> 6.1.

What are the perms of your "xterm"?

>From one source of ps
==
if(getuid()!=geteuid()){                                                               
                       
      fprintf(stderr, "This /bin/ps is not secure for setuid operation.");             
                           
      exit(1);
==

So, it seems your uid!=euid. In the given environment.

--
jaju

_______________________________________________
Website: http://www.ilug-bom.org.in/
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to