Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Setting default group (newgrp ?)



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