首页 > 系统 > Linux > 正文

怎么使用户能访问ftp,但不能远程登录

2020-06-13 12:45:19
字体:
来源:转载
供稿:网友

vsftpd如何使用户能访问ftp,但不能远程登录

usermod -s /sbin/nologin username

即可.试试吧.

记得:sbin不是bin


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表