Kali Linux Installation Configuration PROFTPD instance

Source: Internet
Author: User
Tags create directory kali linux

1, install PROFTPD

Under ftp://ftp.proftpd.org/can find the official release of each PROFTPD version, I use the ftp://ftp.proftpd.org/historic/source/proftpd-1.3.0a.tar.gz

[email protected]:~# wget ftp://ftp.proftpd.org/historic/source/proftpd-1.3.0a.tar.gz

[email protected]:~# tar–xf proftpd-1.3.0a.tar.bz2 (or tar zxvf proftpd-1.3.0a.tar.gz)

[email protected]: ~# CD proftpd-1.3.0a

[Email protected]:~# ./configure--prefix=/var/proftpd--sysconfdir=/etc//Setup directory/var/proftpd, profile directory/etc

Note: If there is an error in this step
configure:error:c++ preprocessor "/lib/cpp" sanity check
Check see ' config.log ' for more details
that is a description of the C + + compiler related Package there is no installation or a missing kernel header file package.
Workaround:

1, perform apt-get install glibc-headers gcc-c++ in terminal
2,apt-get Install Build-essential
Uname-r
Apt-get install linux-headers-' kernel version '

[email protected]:/proftpd-1.3.0a#make//compile

[email protected]:/proftpd-1.3.0a# make install//install

2, Configuration proftpd

[email protected]:/proftpd-1.3.0a# groupadd Kevin//Building Kevin Group

[email protected]:/proftpd-1.3.0a# useradd kevin–g kevin–d/var/ftp–s/sbin/nologin//Add user Kevin

Note: You need to add a line "/sbin/nologin" to the/etc/shells file (otherwise the login failure error will occur when you log on to FTP)

[email protected]:/proftpd-1.3.0a# passwd Kevin //Set Password

[email protected]:/proftpd-1.3.0a# mkdir/var/ftp //Create Directory

[email protected]:/proftpd-1.3.0a# chgrp kevin/var/ftp//Change the group belonging to the FTP directory to Kevin

[email protected]:/proftpd-1.3.0a# chmod–r 755/var/ftp //Change FTP directory permissions are master All rights, same group and others are readable permissions

[email protected]:/proftpd-1.3.0a# vim/etc/proftpd.conf //modify config file

change user Nobody to user Kevin,group Nogroup to Group Kevin.

[email protected]:/proftpd-1.3.0a# /var/proftpd/sbin/proftpd//Start service


Use Ifconfig to view the IP address, for example, 192.168.121.129.

[Email protected]:~# FTP 192.168.121.129

Then enter the new user name and password.

Or, in the browser input ftp://192.168.121.129, pop-up interface, login.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.