

When we add new user to the group, we need to logout and login to the system, otherwise new user will not able to do ftp. Note: we can modify user anytime with the usermod eg: $ usermod - d /home/differentlocation If we need more user to be added to already existing ftp folder then we can do as follows:Īdd new user to existing ftp group: $ useradd newftpuser -p your-password -g gtpgroup -d /home/ftpfolder -s bin/false Normally ftp users dont need shell access so -s /bin/false. If folder is not assign default folder will be assigned which is normally /home/username $ useradd userftp -p your-password -g ftpgroup -d /home/ftpfolder -s /bin/false Step 2: Create a user called ftpuser and add it to the group and also assign it with the folder.

Step 1: If we already have group then we can skip this or lets start by creating a group, and lets call it ftpgroup $ groupadd ftpgroup In this example we will create ftp group, ftp user and add it to the new or existing folder for ftp. How add ftp users to folder or Apache server?
