FTP Setup using VSFTPD in SUSE 10.3
1. Requirement
a. Installed server with SUSE 10.3b. SUSE 10.3 DVD mounted in server
2. Setup VSFTPD
a. Login to the server using remote / localb. Type
yast2
c. Software > Software Management >d.
ALT+s
for searche. Type in
vsftpd
f. Check the package using
SPASE BAR
keyg.
ALT+a
for acceptsh. Wait until finish, quit the yast2 (
ALT+q
)
3. Setting /etc/vsftpd.conf
a.
Run the VSFTPD
The starting and stopping of V
SFTP is controlled by
xinetd
via the
/etc/xinetd.d/vsftpd
file. VSFTP is
deactivated by default, so you’ll have to edit this file to start the program.
Make sure the contents look like this.The disable feature must be set to "no" to accept connections.
service ftp{disable = nosocket_type = streamwait = nouser = rootserver = /usr/sbin/vsftpdnice = 10}
You will then have to restart
xinetd
for these changes to take effect using the startupscript in the
/etc/init.d
directory.
[root@aqua tmp]# /etc/init.d/xinetd restartStopping xinetd: [ OK ]Starting xinetd: [ OK ]
b. Testing VSFTPD status
You can always test whether the VSFTP process is running by using the
netstat
–
a
command which lists all the TCP and UDP ports on which the server is listening fortraffic. The example below shows the expected output, there would be no output at all ifVSF
TP wasn’t running.
[root@bigboy root]# netstat -a | grep ftptcp 0 0 *:ftp *:* LISTEN[root@bigboy root]#
Leave a Comment