Trying to specify the home directory of all users

From: Dan Gapinski (DanGapinski_at_qsi-r2.com)
Date: 05/07/03

  • Next message: Jan-Benedict Glaw: "Re: X11 forwarding -Doh!"
    To: <secureshell@securityfocus.com>
    Date: Wed, 7 May 2003 12:14:45 -0500
    
    

    Hello,

    I am trying to mimic an FTP site by creating a home directory for some
    remote users and make it easy for my own local users to attach to all the
    home folders via a Samba share. Not too complicated I hope. Well, I thought
    it might be easiest to edit the etc/sshrc file to enforce all accounts
    logging in to change directory to their home folder, so that the file
    contains nothing but:

    cd /Public/$username

    However, on a Winows client using WinSCP, I get an error saying "Error
    skipping startup message." And then "Network error: connection reset by
    peer". When I log on as root, this does not happen, and I don't get shoved
    into root's home directory either. I am a total newbie to SSH - would anyone
    be good enough to point me in the right direction?

    Many thanks,
    Dan Gapinski


  • Next message: Jan-Benedict Glaw: "Re: X11 forwarding -Doh!"