This creates the user myuser which runs as the FTP system user. pure-pw useradd myuser -u ftpuser -d /home/ftpuser -m Therefore, to create, view, or modify the /etc/pureftpd.passwd file, we use the below pure-pw command. These users will be added to the PureDB file available at /etc/pure-ftpd/pureftpd.passwd. Recently, one of our customers approached for assistance in creating Pure-FTPd users.īy default, Pure-FTPd allows creating virtual users instead of real system users. So, PureFTPd is very much secure than ProFTP and much preferable. Pure-FTPd is useful in instances where bandwidth usage is less important than file transfer speed.Īlso, it supports virtual user quotas, whereas ProFTPd does not. But, it will not display status in the status menu.
Pure-FTPd is generally regarded as faster FTP than Pro FTPd. Today, let’s have a deep discussion on this topic and see how our Support Engineers add FTP users easily.Īs we all know, cPanel offers two FTP servers, PureFTP and ProFTP. However, it often creates problems when adding users to the PureFTPd server.Īt Bobcares, we often receive requests to add users as part of our Server Management Services.
Pureftpd is a free and secure FTP server that makes file uploading easy.
Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.Trouble while executing pureFTPd add user option? If you go that route, you’ll find SFTPGo to be a great little SFTP server for your company. The lesson here is the best way to use SFTPGo is the suggested method and have your users work within the SFTPGo web UI. Make sure, however, when attempting to connect with FileZilla that your host is in the form sftp://SERVER, where SERVER is the IP address of the SFTPGo server. I’ve tested this in both the GNOME File Manager app and FileZilla, and it works like a champ. One thing to keep in mind when connecting to your SFTPGo server from either your file manager (such as Nautilus) or an application like FileZilla: SFTPGo uses port 2022, so when you connect, you’ll want to make sure to use that port and not the standard port 22. Restart the SFTPGo service with the command:Īt this point, SFTPGo is running as the root user and you should no longer have to jump through all of the hoops I did to get it working otherwise. For that, log into your hosting server via SSH and issue the command: To make this change, we’re going to use the systemctl edit tool to edit the file. To make this change, what we’re going to do is reconfigure the SFTPGo systemd service to run as the root user instead of the sftpgo user. But if you need simplicity and have a reliable security team that has worked hard to lock down your network, this change will make your life a bit easier. So if you don’t trust your network, you might think twice about doing this. If we circumvent this default configuration, are we opening ourselves up to problems? Of course. This is done for added security so the service can only write to locations to which the controlling user has access. How to make this changeīy default, SFTPGo runs as a dedicated user. To make this change, you’ll need a running instance of SFTPGo and SSH access to the hosting service using an account with sudo privileges. SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium) What you’ll need If you don’t want to have to jump through the same hoops I did, I have a quick fix for you. But for my purposes, I need to be able to share folders outside of /srv/sftpgo. I you opt to keep your users within their virtual folders, this isn’t a problem. This doubles the amount of work you have to do, and if you’re dealing with a lot of users, this can get problematic. During my work with this platform, I discovered that if you decide to venture beyond the realm of the default virtual folders, things get a bit complicated and you have to not only add users and groups to SFTPGo but also to the Linux system. Recently, I posted a tutorial on deploying SFTPGo. Jack Wallen walks you through the process of simplifying the SFTPGo workflow. How to simplify the managing of users groups and shares in SFTPGo