Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Trying to specify the home directory of all users

From: Dan Gapinski <DanGapinski(at)qsi-r2.com>
Date: Wed May 07 2003 - 13:14:45 EDT

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 Received on Wed May 7 16:24:38 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:58 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library