Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 15:29:07 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>, Marty Landman <MLandman@face2interface.com>, Dan Nelson <dnelson@allantgroup.com>, Alex de Kruijff <freebsd@akruijff.dds.nl>, freebsd-questions@freebsd.org
Subject:   Re: Why can't I write this file?
Message-ID:  <20040309142907.GA37091@ei.bzerk.org>
In-Reply-To: <20040309141025.GB16123@happy-idiot-talk.infracaninophile.co.uk>
References:  <20040308212749.GC894@alex.lan> <20040308214225.GA95503@dan.emsphone.com> <6.0.0.22.0.20040308165050.104aea98@pop.face2interface.com> <20040309141025.GB16123@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Ruben



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