On 06/29/2011 09:33 AM, Patrick Cable wrote:
> [root@user ~]# su - juser
> user:/home/juser> groups
> stapusr wheel p2218808 p10022 pdk dfpa_general p1418 qds
> 
> But apparently, when the user logs in, he only sees his primary group
> (which linux sees as stapusr but whatever)
> 
> user:/home/juser> groups
> stapusr

When I start seeing weird things like this, I often resort to tracing
the program in question to see where it thinks it's getting it's info
from.  Try this both as the user and via su and compare the output.

RHEL5 should have strace, so try something like this:

[root@user ~]# su - juser
user:/home/juser> strace -o asroot groups

and

user:/home/juser> strace -o asuser groups

then compare the asroot and asuser files.  A graphical diffing utility
like meld may be helpful.

Let us know what you find out!

        -jan-
-- 
Jan L. Peterson
http://www.peterson-tech.com/~jlp/
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to