search
Homephp教程php手册FTP,TELNET用户控制(转)

FTP,TELNET用户控制(转)

Jun 13, 2016 am 10:09 AM
ftpmantelnetauthorCanturn upcontroluserchange

作者:小州
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

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools