3

I added an user to pure-ftpd with adduser -h /blah user, using busybox.

Unfortunately, he is able to go up in the tree and see the root folder.

How can I disallow this ?

2 Answers2

1

You can start pure-ftpd with the -A options to chroot all users within their home directories. See the FAQ.

Fahad Sadah
  • 1,496
  • 11
  • 21
1

Edit the file /etc/pure-ftpd/conf/ChrootEveryone

Enter the following in this file :

yes

Restart pure-ftpd

Embreau
  • 1,277
  • 1
  • 9
  • 10