您的位置:首页 > 其它

微软Windows7对Vista的几点改进

2009-06-30 15:38 232 查看
启动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的安全级别。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: