Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2010 09:50:35 -0800
From:      Chris Telting <christopher-ml@telting.org>
To:        freebsd-questions@freebsd.org
Subject:   groups and login shells
Message-ID:  <4D17806B.40706@telting.org>

next in thread | raw e-mail | index | archive | help
Just spent some time figuring this out.

I needed to create a group and add myself to it.

But after I added myself to the group while I could "id username" my 
username and
get the correct groups if I did a base "id" or "groups" the new group 
wouldn't
show up.  Not could I access a directory restricted to the group.  Turns 
out I needed
to invoke a new login shell from an existing command prompt or 
essentially shut
everything down and relogin a the console.  So I just reboot.

But owning to many years of resentment dealing with Microsoft platform I 
highly
resent reboots.  Does anyone know if it's possible to update groups in 
memory?


Thanks,
Chris




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