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

Re: zsh does not start in $HOME



On Mon, 8 Sep 2008 10:09:18 +0200
Stephan Windmüller <stephan.windmueller@xxxxxxxxxxxxxxxxx> wrote:
> We are currently migrating from NIS to LDAP and have therefore both
> services running. To distinguish between them, LDAP accounts have their
> home directory set to /ldaphome/username.
> 
> This works with bash, but every time we start a zsh, the user's pwd is
> /home/username:
> 
> | $ bash
> | $ pwd
> | /ldaphome/username
> | $ echo $HOME
> | /ldaphome/username
> | $ zsh
> | % pwd
> | /home/username

zsh doesn't change directory internally when it starts, regardless of where
the home directory is.  They're not symbolic links, are they?  Otherwise
start with "zsh -x" and see what it's executing.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author