Raspberry Pi – Creating Users for FTP Server

Raspian – 2013-02-09-wheezy-raspbian

After posting the video on setting up the FTP Server on my Raspberry Pi, I thought it would be a good idea to walk through the steps of creating a user account so that each device that you want to use the FTP server will have a separate directory in which to upload/download files to. The process is started with using the sudo useradd user1. The next step is to create the home directory for this login account by using sudo mkdir /home/user1. You need to assign permissions to the user you just created to the account you created. You do this by using sudo chown user1:users /home/user1. To keep things tidy, you should also go ahead and set a password for this account by using sudo password user1. You will be prompted to enter the password twice. One you have that done, either use the FTP client we previously worked with to test the account or login using that account just to make sure that everything is working as expected.
YouTube Preview Image
Here is the list of commands that I used in case you want to try scripting this process –
sudo useradd user1
sudo mkdir /home/user1
sudo chown user1:users /home/user1
sudo password user1

Send to Kindle
This entry was posted in Blog Entries, Raspberry Pi, Video Podcast and tagged . Bookmark the permalink.