Installing FTP (vsftpd) on Ubuntu 7.10 (Gusty Gibbon)
October 30th, 2007
From the terminal screen, type “sudo apt-get install vsftpd”:
Note: The anonymous “root” is “/home/ftp/”.
noland@mojito:~$ sudo apt-get install vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
vsftpd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 114kB of archives.
After unpacking 418kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com gutsy/main vsftpd 2.0.5-2ubuntu2 [114kB]
Fetched 114kB in 2s (49.6kB/s)
Selecting previously deselected package vsftpd.
(Reading database ... 99107 files and directories currently installed.)
Unpacking vsftpd (from .../vsftpd_2.0.5-2ubuntu2_i386.deb) ...
Setting up vsftpd (2.0.5-2ubuntu2) ...
Adding system user `ftp' (UID 110) ...
Adding new user `ftp' (UID 110) with group `nogroup' ...
Not creating home directory `/home/ftp'.
* Starting FTP server: vsftpd
You can now place your files in “/home/ftp/”.


October 30th, 2007 at 1:26 am
[…] wrote an interesting post today on Installing FTP (vsftpd) on Ubuntu 7.10 (Gusty Gibbon)Here’s a quick […]
November 8th, 2007 at 9:41 am
Would be cool to post something about how to manage VSFTP, security etc.
April 6th, 2008 at 5:12 am
Im using Ubuntu 7.10 desktop. I have setup VSFTPd server as instructed, it works fine. I dont know how to connect to it. In another computer i typed ftp 10.0.0.2(my server name) and it said Connected , welcome to blah FTP service. But i need to log in as a user right? how do i create a user that can login to upload and download files? i need users to be able to upload and download files from a fixed directory…pleeeaaassee help:’(
April 6th, 2008 at 10:32 am
Yorick,
You installed vsftpd on the server, so you must a user on that server? If not,
# adduser username
# passwd username
Then enable local users in vsftpd.conf:
local_enable=YES
And likely:
write_enable=YES
Brock
April 7th, 2008 at 4:18 am
Thanks i was able to create a user with this command, i created user demoftpuser with password P@ssw0rd. When i try to log in i get the following error after specifying the password
500 OOPS: Cannot change directory:/home/demoftpuser
500 OOPS: child died
Connection closed by remote client
Is there any guide that has step by step instructions on how to install vsftpd, add some local users who are able to upload and download files from a fixed file directory?
April 7th, 2008 at 9:22 am
Adduser on your system does not create a home directory.
mkdir /home/demoftpuser
chown demoftpuser:demoftpuser /home/demoftpuser
> Is there any guide that has step by step instructions
> on how to install vsftpd, add some local users who
> are able to upload and download files from a fixed
> file directory?
Not that I know of, but I will consider writing one.
April 14th, 2008 at 7:36 pm
I’m on the same system as Yarick. Is it possible to set another (existing) folder by command?
April 14th, 2008 at 7:50 pm
Is it possible to set another (existing) folder by command?
Do you mean as a users home directoy? If so yes:
Otherwise I will need you to explain a little more.