ProFTPD issue
Jose Celestino
japc at co.sapo.pt
Sat Nov 17 02:50:22 UTC 2007
Words by wwli [Fri, Nov 16, 2007 at 05:54:02PM -0800]:
> Hi all,
>
> What I want to do is restrict user only has ftp access to their home
> directory. I have searched online a lot. And I set like this on
> proftpd.conf @ /etc/proftpd.conf
> :
> DefaultRoot ~ onlyftpusers
>
> I have a user myuser 's primarygroup is onlyftpusers
>
>
> But after myuser still can access directory other than its home
> directory.
Yes but can he do cd .. and "go out" ?
>
> And I am using WinSCP ftp client in windows.
>
And are you sure you're using ssh ?
Run proftpd with options -n -d 9 and look for chroot when the user logs
in.
--
Jose Celestino
----------------------------------------------------------------
http://www.msversus.org/ ; http://techp.org/petition/show/1
http://www.vinc17.org/noswpat.en.html
----------------------------------------------------------------
"If the lord had meant us to have faith, he'd have given us
lobotomies." — Zlatko.
More information about the users
mailing list