How can I add a new vsftpd user on CentOS 5 ? I would like that user to default to a certain directory other than its own. Note that chroot is on. Should I do something like this?
useradd vsftpuser1 -d /home/mainaccount passwd vsftpuser1
Do I have to edit anything in vsftpd or is this it?
Also, in /etc/vsftpd.ftpusers it has root in with a group of users that are not allowed to login via ftp . If I remove root from this, will root be able to *s*ftp in without chroot restrictions? Is there any threat to my system by let root in in this manner?