Tuesday, 21 January 2014

How to enable Root User on Ftp Server And How to block a user to acess ftp server

Jai Hind To All  Friends I am Deepak Saini And today i m going for enable root user on ftp server.
So lets start 
Thats not a big deal but sone editing in config files

Setups
1 We are going in to the /etc/vsftpd directory and find the user_list 
 Syntax:- cd /etc/vsftpd/
 Syntax:- ls 
In those command we are using cd for change the directory adn ls for list the file or directories in that directory .

2 Here we found the user_list file now time comes when we are editing the file
 Syntax:- vim user_list 
This is the file in which the block users name entries

3 We are not doing to change or delete the name we just commented the root name
   like this #root in this case root is commented 

Now our Work end and our root user to able to use Ftp server like other users 

 In this same file is use but some thing different

So lets start

Setups
1 Same as root enable we are finding the user_list file
 Syntax:- cd /etc/vsftpd/
 Syntax:- ls

 Same we are cd use for change the directory and ls for list the content

2 Now we are open the file with the help of vim command or tool
  Syntax:- vim user_list 


3 Now we enter the user name here and save and quiet
  like this Deepak   here deepak is a user and this is block in my case to get access ftp server 

Now Save and quiet 
 press esc button and then :wq 
here w for save and q for quiet 

Now game over 

Thanks for reading and Come back soon Jai HIND _/\_   


0 comments:

Post a Comment