see if it helps http://wiki.unixh4cks.com/index.php/Chrooting_SFTP
On 14 December 2012 12:32, Justin Mathew <[email protected]>wrote: > vsftpd,while enabling the chroot option ,I am getting 503 error > > > On Thu, Dec 13, 2012 at 10:48 AM, Noor Manseel Mohamed > <[email protected]>wrote: > >> Which FTP server are you using (proftpd, wuftpd etc ?). >> >> Go to the config file of that particular deamon and enable chroot option. >> >> >> On Thu, Dec 13, 2012 at 9:33 AM, Justin Mathew < >> [email protected]> wrote: >> >>> I have created a user with >>> useradd -s /sbin/nologin -d /var/www/test.com/ justin , >>> when I access folder through ftp client I was able to view and download >>> files from all directory.how to restrict a user to a particular directory.? >>> _______________________________________________ >>> Indian Libre User Group Cochin Mailing List >>> http://www.ilug-cochin.org/mailing-list/ >>> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org >>> #[email protected] >>> >> >> >> _______________________________________________ >> Indian Libre User Group Cochin Mailing List >> http://www.ilug-cochin.org/mailing-list/ >> http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org >> #[email protected] >> > > > _______________________________________________ > Indian Libre User Group Cochin Mailing List > http://www.ilug-cochin.org/mailing-list/ > http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org > #[email protected] > -- Regards Basil
_______________________________________________ Indian Libre User Group Cochin Mailing List http://www.ilug-cochin.org/mailing-list/ http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org #[email protected]
