PDA

View Full Version : Create general FTP account


Adobe
12-28-2015, 12:21 PM
Hello everyone!
I have ISPmanager Lite 5.31.1
So, I need to create general FTP account for all hosts (/var/www/). Via panel or Shell
I have accumulated a lot of account and It becomes difficultly.

fly
12-29-2015, 04:30 AM
Hello,

ISPmanager allows to create FTP account only for users. I mean each FTP account has uid as a user. Each FTP account has access permissions as a user has.
So, to be able to manage all files in /var/www it needs to be root. But root can't login via ftp but via sftp can. May be it is better to use sftp and login as root.

Adobe
12-30-2015, 09:52 PM
ISPmanager allows to create FTP account only for users.
I have seen it. But i need access to all projects access. I have 20+ logins and passwords.

fly
01-04-2016, 08:55 AM
It is impossible technically. Use sftp or single user account for all www domains.

Adobe
01-11-2016, 10:13 AM
It is impossible technically. Use sftp or single user account for all www domains.
How can I create SFTP account?

fly
01-12-2016, 05:11 AM
New account is not required. You may connect as root.

Please read about sftp here (https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server)

Adobe
01-13-2016, 07:44 AM
New account is not required. You may connect as root.

Please read about sftp here (https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server)
Gold the Rule: Never login as root.
Need to create any other account

usaafko
01-14-2016, 04:51 AM
If you want to create another user with root access - duplicate root line in /etc/passwd like this:
root:x:0:0:root:/root:/bin/bash
newroot:x:0:0:root:/root:/bin/bash

After then - create password for him:
passwd newroot

And use newroot sftp

Or you could choose another way to add administrative user manually