0% found this document useful (0 votes)
8 views3 pages

Assignment 9

The document provides a step-by-step guide for setting up FTP and Telnet servers using vsftpd and xinetd on Linux systems. It includes installation commands, configuration file modifications, and instructions for accessing the services. Additionally, it instructs the user to take screenshots of connection attempts and directory listings for both services.

Uploaded by

deepak52764
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Assignment 9

The document provides a step-by-step guide for setting up FTP and Telnet servers using vsftpd and xinetd on Linux systems. It includes installation commands, configuration file modifications, and instructions for accessing the services. Additionally, it instructs the user to take screenshots of connection attempts and directory listings for both services.

Uploaded by

deepak52764
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Name : Rajan Lature

PRN 21610072
Assignment 9

1. FTP Server Setup (vsftpd)


Installation:

Install vsftpd (Very Secure FTP Daemon) on your Linux system (e.g., Ubuntu or CentOS):
bash Copy code
sudo apt-get update # For Ubuntu sudo apt-

get install vsftpd sudo yum install vsftpd

# For CentOS/RHEL

1.

Configuration:

Edit the vsftpd.conf configuration file:


bash Copy code sudo nano
/etc/vsftpd.conf

1.
2. Modify the following parameters:

To allow local users to upload files, uncomment:


bash Copy code local_enable=YES
write_enable=YES

To enable passive mode, add:


bash Copy code
pasv_min_port=10000
pasv_max_port=10100

Restart vsftpd: bash Copy code sudo


systemctl restart vsftpd
3.

Access FTP:

Use an FTP client like FileZilla or command-line:


bash Copy code ftp
<server_ip_address>

Screenshots:

● Take screenshots of:


○ FTP connection attempt
○ Directory listing on the FTP server

2. TELNET Server Setup

Installation:

Install the Telnet server and xinetd:


bash Copy
code
sudo apt-get install telnetd xinetd # For Ubuntu sudo yum

install telnet-server xinetd # For CentOS/RHEL

1.

Configuration:

Create a Telnet service file for xinetd:


bash Copy code sudo nano
/etc/xinetd.d/telnet

1.

Add the following configuration:


bash Copy code
service telnet
{ flags = REUSE socket_type =
stream wait = no user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}

2.

Restart xinetd: bash Copy code sudo


systemctl restart xinetd

3.

Access TELNET:

Use a terminal or TELNET client:


bash Copy code telnet
<server_ip_address>

Screenshots:

● Take screenshots of:


○ Telnet login attempt
○ Terminal session over Telnet

You might also like