会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
PC-X69
博客园
首页
新随笔
联系
订阅
管理
2013年5月25日
Ubuntu禁止ftp用户登陆系统
摘要: 在 /etc/shells 文件的最后一行加入 /usr/sbin/nologin保存退出root执行:root@server#usermod -s /usr/sbin/nologin ftp测试:重新ssh。#ssh -l ftp 121.199.10.38输入密码后被踢出服务器。
阅读全文
posted @ 2013-05-25 01:02 test.cfs
阅读(322)
评论(0)
推荐(0)
编辑
公告