group credentials cache in X11-session (xfce4, gdm) question
Dan Nelson
dnelson at allantgroup.com
Thu Apr 30 18:36:36 UTC 2009
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 at allantgroup.com
More information about the freebsd-questions
mailing list