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

FTP,TELNET用户控制(转)

Jun 13, 2016 am 10:09 AM
ftp man telnet author Can turn up control user change

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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to use Xiaohongshu account to find users? Can I find my mobile phone number? How to use Xiaohongshu account to find users? Can I find my mobile phone number? Mar 22, 2024 am 08:40 AM

How to use Xiaohongshu account to find users? Can I find my mobile phone number?

Teach you how to enable telnet service in win11 Teach you how to enable telnet service in win11 Dec 27, 2023 am 10:23 AM

Teach you how to enable telnet service in win11

Log in to Ubuntu as superuser Log in to Ubuntu as superuser Mar 20, 2024 am 10:55 AM

Log in to Ubuntu as superuser

What is sudo and why is it important? What is sudo and why is it important? Feb 21, 2024 pm 07:01 PM

What is sudo and why is it important?

Tutorial: How to delete a normal user account in Ubuntu system? Tutorial: How to delete a normal user account in Ubuntu system? Jan 02, 2024 pm 12:34 PM

Tutorial: How to delete a normal user account in Ubuntu system?

Win10 telnet command is invalid Win10 telnet command is invalid Jan 09, 2024 am 08:25 AM

Win10 telnet command is invalid

cmdtelnet command is not recognized as an internal or external command cmdtelnet command is not recognized as an internal or external command Jan 03, 2024 am 08:05 AM

cmdtelnet command is not recognized as an internal or external command

telnet command in Windows cannot be found telnet command in Windows cannot be found Dec 28, 2023 am 10:41 AM

telnet command in Windows cannot be found

See all articles