Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Setting default group (newgrp ?)
- X-seq: zsh-users 13654
- From: Ulrich Dangel <ml-lists@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Setting default group (newgrp ?)
- Date: Tue, 6 Jan 2009 23:56:47 +0100
- In-reply-to: <alpine.LNX.2.00.0901061725330.31940@acer>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <b11ea23c0901061406i6b2ba6b2y9ab797a9bc4e6803@xxxxxxxxxxxxxx> <alpine.LNX.2.00.0901061725330.31940@acer>
On Tuesday 06 January 2009 23:32:37 Benjamin R. Haskell wrote:
> I often find bizarre results when I've added myself to a group but haven't
> yet rebooted. IIRC, one workaround is to restart nscd. Another is to log
> in as yourself, but that only works in the shell you log into
> (already-opened shells don't catch the change).
You can just use 'sg' to run commands under differnet groups without
restarting your session.
Uli
Messages sorted by:
Reverse Date,
Date,
Thread,
Author