1833788 Members
2241 Online
110063 Solutions
New Discussion

Restricions for user ftp

 
SOLVED
Go to solution
MQ'ski
Regular Advisor

Restricions for user ftp

I created user only for ftp access.
Now I want to restrict him and allow acces only to one folder... for instance /var/tmp/myuser
Do you think I should do it with chroot command?
2 REPLIES 2
Ivan Ferreira
Honored Contributor
Solution

Re: Restricions for user ftp

You must configure the ftp server to chroot the user. The ftpserver will use chroot to jail the user. Modify ftpaccess file, see:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1043408
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
MQ'ski
Regular Advisor

Re: Restricions for user ftp

Thank you for help