[scponly] initial directory
Thomas Wana
thomas at wana.at
Sun Oct 31 04:37:14 EST 2004
ics boy wrote:
> I was wondering if
> there was a way to set the default directory to the 'incoming' directory
> on the server side (instead of changing the initial 'remote directory'
> in winSCP).
Sure, use the double-slash in /etc/passwd, like this:
greuff:x:1001:100::/home/greuff//incoming:/usr/sbin/scponlyc
scponly will chroot into /home/greuff and cd into /incoming afterwards.
Tom
More information about the scponly
mailing list