X-Forwarding without writeable $HOME

From: Lars Rehe (lars.rehe_at_web.de)
Date: 08/21/03

  • Next message: Richard E. Silverman: "Re: Problem when building a chrooted sftp environment"
    Date: 21 Aug 2003 07:23:16 -0700
    
    

    Hi all.

    Maybe someone can help me with this one.

    We set up a Solaris9 machine with OpenSSH3.6.1p2 for our users to use
    it as a secure gateway to machines in our internal network. There are
    no user directories (NFS based) available, every user finds himself in
    / after successfull login.

    Having $HOME set to '/' we are no longer able to use ssh X-Forwarding
    because xauth is not allowed to write $HOME/.Xauthority. Of course we
    would like to use this feature since it is much more convenient for
    the user instead of using 'xhost' and 'setenv DISPLAY'.

    So we tried to create a temporary user directory and 'cd' him there
    from a login script. This didn't help since xauth is called before any
    login script like /etc/login is executed.

    Has somebody managed to solve a situation like this and would be
    willing to shed some light?

    Regards,
    Lars


  • Next message: Richard E. Silverman: "Re: Problem when building a chrooted sftp environment"