Skip to content
Advertisement

If there a way to make vsftpd allow one user to access root directory, while other users get redirected to their home directory? [closed]

I’m running Raspbian Lite on a Raspberry Pi 2. I’m trying to have vsftpd set up with one user called admin to have root access for FTP, while all other users (such as filetransfer) get redirected to their home directory. Any help would be greatly appreciated 🙂

Advertisement

Answer

I gather you’re using vsftpd’s chroot_local_user setting to keep users within their home directories. If that’s enabled, you can use the chroot_list_file setting to pass a file containing the users you don’t want to be locked in their home directories.

You can find out more on the vsftpd manual page.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement