Home Backend Development PHP Tutorial FTP,TELNET用户控制(转)_PHP

FTP,TELNET用户控制(转)_PHP

Jun 01, 2016 pm 12:33 PM
ftp control user

Telnet

作者:小州

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?

Local users and groups are missing on Windows 11: How to add it Local users and groups are missing on Windows 11: How to add it Sep 22, 2023 am 08:41 AM

Local users and groups are missing on Windows 11: How to add it

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

Explore Windows 11 guide: How to access user folders on your old hard drive Explore Windows 11 guide: How to access user folders on your old hard drive Sep 27, 2023 am 10:17 AM

Explore Windows 11 guide: How to access user folders on your old hard drive

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?

Windows 11 KB5031455 fails to install, causing other issues for some users Windows 11 KB5031455 fails to install, causing other issues for some users Nov 01, 2023 am 08:17 AM

Windows 11 KB5031455 fails to install, causing other issues for some users

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?

Analysis of user password storage mechanism in Linux system Analysis of user password storage mechanism in Linux system Mar 20, 2024 pm 04:27 PM

Analysis of user password storage mechanism in Linux system

See all articles