Why can't I write this file?

Ruben de Groot mail25 at bzerk.org
Tue Mar 9 06:27:03 PST 2004

On Tue, Mar 09, 2004 at 02:10:25PM +0000, Matthew Seaman typed:
> Yes, quite.  Your login credentials are established when you login to
> the system and only then -- that's when the limits of what you're
> authorized to do are set, which includes amongst other things which
> groups you're a member of.  So you have to log out and back in again
> to pick up any changes to /etc/master.passwd or /etc/group.

Actually, when there's a change in /etc/group, you can use 
"newgrp <groupname>" to add the new group to your credentials without
logging in again. It's not exactly the same, but it does the work.


More information about the freebsd-questions mailing list