Home > php教程 > php手册 > body text

FTP,TELNET用户控制(转)

WBOY
Release: 2016-06-13 10:09:59
Original
818 people have browsed it

作者:小州
man ftpaccess 可以找到 restricted-uid 的参数,那只要/etc/ftpaccess 文件内加入: restricted-uid * 即可。此方式适用于 wu-ftp 2.5 or above 的版本。
如何让一个一般的用户只能 ftp 上来
作者:Michael
要让一个一般的用户只能 ftp 上来,但是却不能使用 telnet 至这部机器 只需要做下面两步: 1、修改/etc/passwd,将用户对应一行最后的login shell 改成 /bin/true 2、编辑/etc/shells ,在最后加一行 /bin/true

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!