启动sshd提示:
Privilege separation user sshd does not exist
google了一下,找到了解决方法。
方法一(推荐):
修改/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
我加入的是:
sshd:x:109:65534::/var/run/sshd:/usr/sbin/nologin
参考
http://www.unixguide.net/comments/sun/ssh_installation.shtml/37.shtml
http://www.gipsky.com/modules/newbb/viewtopic.php?topic_id=966
方法二(不推荐):
修改/etc/ssh/sshd_config文件
将其中
UsePrivilegeSeparation yes
修改为
UsePrivilegeSeparation no
虽然能解决问题,但是降低了ssh的安全级别。
Privilege separation user sshd does not exist
转载
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
su:user - does not exist
su:user - does not exist
oracle 数据库 系统启动 -
maven报错:The specified user settings file does not exist:
错误内容:自己电脑是mac系统的。同事上传到git的代码是windows系统的。在idea中执就ok了...
maven java maven报错 ide windows系统