On Wed, 29 Jun 2011, Patrick Cable wrote:
So, when I 'su' or 'su -' to a user's account, all his groups show up.
[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
This is on RHEL5.5 and using gnome-terminal. Groups and users are on
LDAP - getent group shows correct group access, etc. I turned NSCD off
just to make sure it wasnt a broken cache.
His gnome-terminal profile is configured to use his shell as a login shell.
What obvious simple thing am I missing here?
gnome-terminal lies quite often about it actually creating a login shell. If
he's already running in an existing gnome sesssion, have him exit completely
log out and log back in to see if that starts showing all his groups.
- Chris
"The greatest pleasure in life is doing what people say you cannot do."
- Walter Bagehot
_______________________________________________
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/