Wednesday, 22 January 2014

How to allow Anonymous user to create directory in Pub and How to disable anonymous user on ftp server

Hello Friends I am again Deepak Saini And now we are again discus on Ftp server something new

Again we are discus two topic in this
1 How to allow the anonymous user to create directory
2 How to disable Anonymous account on Ftp server 
Lets Start
 1 How to allow the Anonymous user to create directory on ftp server 
Setups
1 First of all we are change the directory and come in the vsftpd main directory
Syntax:- cd /etc/vsftpd

2 Now we are list the content and find the config file of vsftp.conf of ftp server
 Syntax:- ls

3 Here we got our file vsftpd.conf and now time come to edit that file again
 Syntax:-vim vsftpd.conf

Now we are going to uncomment the line 31 anon_mkdir_writes_enable=YES this is the line
Now we are restart the service and our anonymous user able to create the directory on ftp server
   Syntax:- service vsftpd restart
Complete one 

Now 2nd one
2 How to disable anonymous user on ftp server
 Setups
1 First of all we are change the directory and come in the main directory of ftp server.
Syntax:-cd /etc/vsftpd


2 Now we are find the vsftpd.conf file in this directory.
  Syntax:-ls 

3 Now we are edit the vsftpd.com.
  Syntax:- vim vsftpd.comf

 In this we are change the anonymous_enable=YES replace by anonymous_enable=NO

4 Now restart the service ftp.
  Syntax:-service vsftpd restart

Now task complete 

Thanks for reading and sorry for my R.I.P english Jai Hind _/\_ 

0 comments:

Post a Comment