Results 1 to 4 of 4
hi, how can i disable a user from using his ftp account to cd above his home dir. I would like to limit a user from going to any level ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-09-2004 #1Just Joined!
- Join Date
- Sep 2003
- Posts
- 12
Proftpd locking user
hi, how can i disable a user from using his ftp account to cd above his home dir. I would like to limit a user from going to any level higher than his home dir. i am using proftpd 1.2.8 on Slackware 9.1
thanks for ur help
- 04-09-2004 #2
From the proftpd website The directive you would want is DefaultRoot make it ~/
- 04-09-2004 #3Linux Newbie
- Join Date
- Feb 2004
- Posts
- 139
That line should already be in the proftpd.conf...just have to uncomment it.
If you love something, emerge it
- 04-14-2004 #4Linux Newbie
- Join Date
- Dec 2003
- Location
- Netherlands
- Posts
- 193
This is what you need in your proftpd.conf
Add the following line to it:
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~Computers Are Like Air Conditioners... They\'re both useless with Windows open!


Reply With Quote
