On Wed, Apr 09, 2008 at 10:46:11AM +0200, Michal wrote: > > > Hi Mikal, > > > What exactly are you trying to do in .bashrc? You don't > > explain that to us. It would help to know why you are doing these > > things. Later, > > > I would like to switch to supplementary group, just after log in. newgrp spawns a new shell, that will execute newgrp, spawning a new shell, that will execute newgrp, ... You get the idea. Either change the primary group for the user in /etc/passwd, or make newgrp conditional: [ $(id -gn) = svn ] || exec newgrp svn -- lfr 0/0
Attachment:
pgpCKTvxDiA2M.pgp
Description: PGP signature