Home  >  Article  >  Backend Development  >  FTP, TELNET user control (transfer)_PHP tutorial

FTP, TELNET user control (transfer)_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:07:39903browse

Author: Xiaozhou
man ftpaccess can find the restricted-uid parameter, then just add: restricted-uid * to the /etc/ftpaccess file. This method is suitable for wu-ftp 2.5 or above version.
How to make a general user only able to ftp up the machine
Author: Michael
To make a general user only able to ftp up the machine but cannot use telnet to this machine, you only need to do the following two steps: 1 , modify /etc/passwd, change the login shell at the end of the line corresponding to the user to /bin/true 2. Edit /etc/shells, add a line /bin/true at the end

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/630242.htmlTechArticleAuthor: Xiaozhou man ftpaccess can find the restricted-uid parameter, then just add it to the /etc/ftpaccess file: restricted-uid * is enough. This method is suitable for wu-ftp 2.5 or above version...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn