J
jaspet
Guest
I needed additional FTP accounts with separate logins and directories. There is no way to achieve this with Plesk console so I done some search in the forum and KB. After a day of experiments, I found the way.
I will try to explain it easies possible way so anyone could understand. Experienced admins - sorry me
1. connect with ssh, login as root
2. create directory of your choice
(mkdir /home/jaspetFTP)
3. add new user and set dir above as his home dir
(useradd -d /home/jaspetFTP jaspet)
4. set password (passwd jaspet)
5. assign user to "psacln" group
(usermod -g psacln jaspet)
6. change ownership of his homedir to user and group
(chown jaspet
sacln /home/jaspetFTP)
7. edit file /etc/ftpchroot and add new line with user login into it
(vim /etc/ftpchroot)
8. restart psa service
(/etc/init.d/psa restart)
I will try to explain it easies possible way so anyone could understand. Experienced admins - sorry me
1. connect with ssh, login as root
2. create directory of your choice
(mkdir /home/jaspetFTP)
3. add new user and set dir above as his home dir
(useradd -d /home/jaspetFTP jaspet)
4. set password (passwd jaspet)
5. assign user to "psacln" group
(usermod -g psacln jaspet)
6. change ownership of his homedir to user and group
(chown jaspet
7. edit file /etc/ftpchroot and add new line with user login into it
(vim /etc/ftpchroot)
8. restart psa service
(/etc/init.d/psa restart)