I want to create a ftp user on my ubuntu server, and lock the user to a specific folder to read/write to.
I read I use the /usr/sbin/useradd but I don't see how I set the password?
thanks in advance
This means the user can not leave their home directory. There are multiple ways to create a user. By default,
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.