Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2009 13:36:33 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Harald Schmalzbauer <h.schmalzbauer@OmniLAN.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: group credentials cache in X11-session (xfce4, gdm) question
Message-ID:  <20090430183633.GD91578@dan.emsphone.com>
In-Reply-To: <49F967C2.6040908@OmniLAN.de>
References:  <49F967C2.6040908@OmniLAN.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 30), Harald Schmalzbauer said:
> I'm wondering why and how it comes that after altering /etc/groups `id`
> doesn't give me the additional group, while `id harry` does.  If I quit my
> X session and relogin it works as expected.  Does gdm cache credentials? 
> Hard to find useful documentation for gdm...

"id" tells you the credentials of the current process, while "id harry"
tells you the group memberships in /etc/groups.  Your credentials are set
when you log in, and do not change ( unless you are root and call
setgroups() or initgroups() ).

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090430183633.GD91578>