Difference between revisions of "Ftp"

From unRAID
Jump to: navigation, search
(Created page with 'The goal of this tutorial is to get you setup with the default unRaid ftp server with # username/password to read/write from a specific directory # anonymous username to read fro...')
 
Line 3: Line 3:
 
# anonymous username to read from that directory
 
# anonymous username to read from that directory
  
I'm currently on Unraid Media server 5.0-b14. I will be using telnet to work with the server.
+
I'm currently on Unraid Media server 5.0-b14. I will be using the root account in telnet to the server which is called DUMBO. I will put commands that I use in '''''bold & italic''''' on their own line.
  
Through some reading, users have said that unRaid comes with ProFTP. But for some reason, my system has vsFtp which is a different FTP server. Here's the [[https://security.appspot.com/vsftpd.html|"official vsftpd"]] page.
+
Through some reading, users have said that unRaid comes with ProFTP. But for some reason, my system has vsFtp which is a different FTP server.
 +
 
 +
So far as I can tell, vsftp comes with this version of unRaid and doesn't require any installtion - it's just there.
 +
 
 +
Start by editing the vsftpd.conf file
 +
 
 +
'''''mcedit /etc/vsftpd.conf'''''
 +
 
 +
change:<br />
 +
''# No anonymous logins<br />
 +
anonymous_enable=NO
 +
 
 +
to:<br />
 +
''# No anonymous logins<br />
 +
''# anonymous_enable=NO
 +
 
 +
add the following right after it:<br />
 +
''# Allow anonymous FTP?<br />
 +
anonymous_enable=YES<br />
 +
anon_max_rate=0<br />
 +
anon_mkdir_write_enable=NO<br />
 +
anon_root=/disk01/ftp/<br />
 +
anon_world_readable_only=YES<br />
 +
anon_umask=0022<br />
 +
anon_upload_enable=NO<br />
 +
anon_other_write_enable=NO<br />
 +
no_anon_password=NO<br />
 +
 
 +
Where '/disk01/ftp/' is the root folder of all anonymous users
 +
 
 +
 
 +
 
 +
Here are the links that I'm going from:
 +
*https://security.appspot.com/vsftpd.html official vsftpd
 +
*http://vsftpd.beasts.org/vsftpd_conf.html vsftpd.conf manual
 +
*http://linux.die.net/man/5/vsftpd.conf more vsftpd.conf info
 +
*https://calomel.org/vsftpd.html a vsftpd howto

Revision as of 20:48, 1 March 2012

The goal of this tutorial is to get you setup with the default unRaid ftp server with

  1. username/password to read/write from a specific directory
  2. anonymous username to read from that directory

I'm currently on Unraid Media server 5.0-b14. I will be using the root account in telnet to the server which is called DUMBO. I will put commands that I use in bold & italic on their own line.

Through some reading, users have said that unRaid comes with ProFTP. But for some reason, my system has vsFtp which is a different FTP server.

So far as I can tell, vsftp comes with this version of unRaid and doesn't require any installtion - it's just there.

Start by editing the vsftpd.conf file

mcedit /etc/vsftpd.conf

change:
# No anonymous logins
anonymous_enable=NO

to:
# No anonymous logins
# anonymous_enable=NO

add the following right after it:
# Allow anonymous FTP?
anonymous_enable=YES
anon_max_rate=0
anon_mkdir_write_enable=NO
anon_root=/disk01/ftp/
anon_world_readable_only=YES
anon_umask=0022
anon_upload_enable=NO
anon_other_write_enable=NO
no_anon_password=NO

Where '/disk01/ftp/' is the root folder of all anonymous users


Here are the links that I'm going from: