SCAN to FTP on FEDORA

Scan to FTP on Fedora 13, 14, 15

VSFTPD – Very Secure File Transfer Protocol Daemon is probably the most secure and fastest FTP server for UNIX-like systems. VSFTPD is used by RedHat, SuSE, Debian, FreeBSD, GNU, Gnome, KDE, Kernel & etc as their FTP server.

 

 

First, check if VSFTP is installed on Fedora.
Go to Application > System Tools > Terminal

run,

rpm -q vsftpd

If it is not yet installed, then type

su

to enter as super user and type password.

Installing VSFTPD

run

yum install vsftpd

Configuring the scan folder

To create a folder, run

mkdir /var/ftp/scan2ftp

 

 

to change ownership of the folder

chown ftp:ftp /var/ftp/scan2ftp

to share the folder w/ read & write access

chmod 0777 /var/ftp/scan2ftp

 

Editing the vsftpd configuration file

Before editing the config file, we’ll backup it first

cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.original

then we’ll edit the config file

nano /etc/vsftpd/vsftpd.conf

Note: if nano is not recognized, install it first. “yum install nano

Comment the “local_enable=YES”

Uncomment “anon_upload_enable=YES”

Uncomment “anon_mkdir_write_enable=YES”

Uncomment “chown_uploads=YES”

Uncomment “chown_username=whoever”

Then replaced “whoever” to a fedora username. e.g. ariel

“chown_username=ariel”

To customize the welcome banner, uncomment “ftpd_banner=…” and replace the phrase/sentence after the = sign.

Save the config file.

On your keyboard, hit CTRL+X. Type Y and hit Enter.

Starting VSFTPD service

To enable VSFTPD upon startup, run

chkconfig vsftpd on

To start the VSFTPD service, run

service vsftpd start

Checking VSFTPD

To check if the configured VSFTPD is up, run

ftp localhost

Note: if the command “ftp” is not recognized, install it “yum install ftp

 

Enter “ftp” or “anonymous” as login name and leave blank for the password.

 

If login is successful, you’ll see something like the image below.

To exit the FTP, type “bye” or “exit”

 

Configuring SELinux

To allow ftp servers to login to local users and read/write all files on the
system, run

setsebool -P allow_ftpd_full_access 1

Kyocera Command Center Setup

Hostname: Hostname of Fedora or its IP address, 192.168.22.147

Path: Just leave it blank

Login User Name: ftp or anonymous

Login Password: Just it it blank

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.