Quantcast
Channel: User Matthew Flaschen - Server Fault
Viewing all articles
Browse latest Browse all 40

Answer by Matthew Flaschen for How to create a user in ubuntu for ftp, and lock the account to a specific ftp folder

$
0
0

This tutorial explains how you can lock a user in a chroot jail with vsftpd. The key option is:

chroot_local_user=YES

This means the user can not leave their home directory. There are multiple ways to create a user. By default, adduser will prompt you for a password and directory info.

However, you should consider sftp, with openssh-server, instead. There are ways to secure FTP, e.g. tunneling it over SSH or SSL. However, SFTP was originally designed with security in mind.


Viewing all articles
Browse latest Browse all 40

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>