Privilege separation user sshd does not exist
来源:互联网 发布:淘宝去哪里找货源 编辑:程序博客网 时间:2024/05/17 10:57
按步骤在Cygwin安装好ssh,却一直启动不了ssh的服务。查看日志文件发现:
提示:“Privilege separation user sshd does not exist”。
查看了很多网上的资料,利用主流的方法解决了这个问题,顺利启动了ssh服务:
在/etc/passwd文件中加入 : “sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin ”
=====================================================================================
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
注册名:口令:用户标识号:组标识号:用户名:用户主目录:命令解释程序
/etc/passwd文件是Linux/UNIX安全的关键文件之一.该文件用于用户登录时校验 用户的口令,当然应当仅对root可写.
注册名(login_name):用于区分不同的用户。
口令(passwd):系统用口令来验证用户的合法性。通常将passwd文件中的口令字段使用一个“x”来代替,将/etc /shadow作为真正的口令文件,用于保存包括个人口令在内的数据。当然shadow文件是不能被普通用户读取的,只有超级用户才有权读取。 passwd字段中的第一个字符是“*”的话,那么,就表示该账号被查封了。
用户标识号(UID):UID是一个数值,是Linux系统中惟一的用户标识,用于区别不同的用户。
组标识号(GID):这是当前用户的缺省工作组标识。
参考:http://luzl.iteye.com/blog/564404
非常详细的/etc/passwd解释
- Privilege separation user sshd does not exist
- 安装openssh--出现Privilege separation user sshd does not exist错误
- cygwin 安装 ssh 服务报错 Privilege separation user sshd does not exist
- Starting sshd: Missing privilege separation directory: /var/empty/sshd
- MHA检测主从复制状态的时出现“User xxx does not exist or does not have REPLICATION SLAVE privilege”异常解决
- User settings file does not exist
- relation-auth-user-does-not-exist
- The user specified as a definer (@'''') does not exist
- The user specified as a definer ('root'@'%') does not exist。
- The user specified as a definer ('root'@'%') does not exist
- #HY000The user specified as a definer ('root'@'%') does not exist
- The user specified as a definer ('root'@'%') does not exist。 .
- The user specified as a definer ('root'@'%') does not exist。
- The user specified as a definer ('XXXXX'@'%') does not exist
- The user specified as a definer ('root'@'%') does not exist
- Warning: user mockbuild does not exist: using root
- The user specified as a definer ('monitor'@'%') does not exist
- The user specified as a definer (''@'') does not exist
- 关于jquery的serialize()不提交未选中的checkbox的问题
- 嵌入式 无限扩展还是合理利用CDN给我们的启示
- 580活动网:会议庆典设备租赁注意事项
- nginx 配置支持ci访问
- iOS 之NSLog屏蔽输出
- Privilege separation user sshd does not exist
- AngularJS notes -- from 《AngularJS权威教程》(2)
- YII 使用ueditor的使用方法
- jquery奇偶行
- 通过设计器修改表结构,“不允许保存更改”解决
- Linux命令行编辑快捷键
- 【互动问答分享】第11期决胜云计算大数据时代Spark亚太研究院公益大讲堂
- alloc同malloc
- html sum