Wednesday, February 24, 2016

How to Vsftpd conf files Parameter Part 6



Vsftpd.conf files Parameter:

Step-8:  Now edit the vsftpd.conf file

To activate or deactivate a feature, remove or add the # at the beginning of the appropriate line.

[root@ftp ~]# vi /etc/vsftpd/vsftpd.conf

Directives
Line Number
Orginal File Text
Modified File Text
anonymous_enable
12
YES
NO/YES
anon_upload_enable
27
YES
YES
anon_mkdir_write_enable
31
YES
YES
dirmessage_enable
35
YES
YES
xferlog_enable
39
YES
YES
chown_uploads
47
YES
YES
chown_username
48
Whoever
deamon
ascii_upload_enable
81
YES
YES
ascii_download_enable
82
YES
YES
deny_email_enable
89
YES
YES
banned_email_file
91
/etc/vsftpd/banned_emails
/etc/vsftpd/banned_emails
pam_service_name
116
vsftpd
vsftpd
userlist_enable
117
YES
YES/NO




anon_other_write_enable
New Line
NO
YES/NO

Note: Remove the “#” from line number 27, 31, 39, 47, 48, 81, 82 but do not remove “#” symbol from line number 89 & 91.

Some useful ftp command:


Command
Description
ascii
Set ascii transfer type
bell
Beep when command completed
binary
Set binary transfer type
bye
Terminate ftp session and exit
cd
Change remote working directory
cdup
Change remote working directory to parent directory
chmod
Change file permission of remote file
dir
List content of remote directory
delete
Delete remote file
get
Recive file from remote server
image
Set binary transfer type
lcd
Change local working directory
ls  -a
List content of remote directory
mdelete
Delete multiple file
mdir
Make directory on the remote machine
mget
Get multiple file
mkdir
Make directory on the remote machine
mls
List content of multiple directory
mput
Send multiple file
pwd
Print working directory on remote machine
quit
Terminate ftp session and exit
rmdir
Remove directory on the remote machine
rename
Rename file
rstatus
show status of remote machine
type
set file transfer type

Example of ftp command:

[root@client ~]# ftp 210.207.201.7
ftp> mdelete  *.jpg
ftp> mput  *.jpg
ftp> mget  *.jpg
ftp> cd  /var/ftp/pub
ftp> bye

TIPS- For FTP Server

View FTP Log File:

[root@ftp ~]# tail –f /var/log/vsftpd.log

Restrict Access to Anonymous User Only: Add the following line in vsftpd.conf file

local_enable=NO

Disable FTP Upload: Edit the following line in vsftpd.conf file

write_enable=NO

USER LIMITATION: Add the following lines into the vsftpd.conf file
local_max_rate=50
max_per_ip=5
max_clients=10


Facebook Twitter Google+ WhatsApp StumbleUpon Pinterest Addthis

MAXIT INTERNET

BLOGGER

CD DVD RW

DELL

DOWNLOAD

FTP Server Linux

HACK

HARD DRIVE

HOW TO WORKIN

HARDWAER

INTERNET

INTERNET CAFE

LAPTOP

LENOVO

LINUX

Additional configuration for Samba Server (Part 2)  

BSNL/Airtel/Idea using Huawei E156G 3g Wireless USB Linux 5   

Basic File Extensions    CHANGING AN ACCOUNT EXPIRATION DATE   

Configure Linux as a Router   

Configure SAMBA Server (Part-1)   

Configure VNC server   

Configure Yum Server (Part-1)   

Configure yum server for Client machine (Part 3)   

Configuring Samba as a Standalone Server (Part 3)  

Connecting ftp Server with Anonymous User Part 5  

Create ftp account with Shared directory Part 3  

DHCP Server Configuration Part 2  

DHCP Server Configuration Part-1  

DHCP Server Configuration Part-3  

Enabling FTP Services in Yum Server (Part 5)  

FTP Server Configuration Part 1  

FTP Server How to Change In Primary DNS Server Part 2  

HTTP Client side configuration (Part 4)  

How to Vsftpd conf files Parameter Part 6   

LINUX FILE SYSTEM STRUCTURE  

Linux User Administrtion  

Linux as a Router configuration for Client Machine   

Linux client machine FileZilla FTP Client Part 4  

Local Yum Server (Part 2)  

Modifying Existing User Information  

Primary DNS Server Configuration Part-1  

Primary DNS Server Configuration Part-2    

Primary DNS Server Configuration Part-3  

Remove Linux From Your Pc Safely and restoring your MBR  

Sharing & Accessing Samba Share (Part 4)   

Speeding up your internet connection under Linux and Windows   

THE ROOT FILE SYSTEM   

VNC Server Configuration

LINUX LAB

Linux as a Router

MOTHERBOARD

Mobile

NETWORKING

REDHAT 5

REGISTRY EDTOR

RESET BIOS PASSWORD

SAMBA Server Linux

SERVER

SERVER CONFIG

SOFTWAER

VNC server Linux

Window 10

Window XP

Follow by Email

MAX-IT INTERNET

MAX-IT INTERNET
TIPS AND TRICKS