设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 创业者 数据 手机
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

为什么ssh-host-config在Windows 8.1上的Cygwin中创建了两个用户(2)

发布时间:2021-02-24 16:22 所属栏目:117 来源:网络整理
导读:编辑2:无法进入Cygwin开发人员列表,我不得不自己做进一步的调查.到目前为止,我对问题1没有答案,但是用于安装的ssh-host-config脚本还有其他几个问题.最重要的是,您可以随时删除sshd cyg_server帐户,并使用其设置作

编辑2:无法进入Cygwin开发人员列表,我不得不自己做进一步的调查.到目前为止,我对问题1没有答案,但是用于安装的ssh-host-config脚本还有其他几个问题.最重要的是,您可以随时删除sshd& cyg_server帐户,并使用其设置作为参考设置一个适当的管理员帐户.

问题2:Windows 8.1的默认密码过期设置为42天.必须使用常规Windows工具(UI,WMIC,网络用户等)更改或禁用此功能

来自man 5 sshd_config
UsePrivilegeSeparation
     Specifies whether sshd separates privileges by creating an
     unprivileged child process to deal with incoming network traffic.
     After successful authentication,another process will be created
     that has the privilege of the authenticated user.  The goal of
     privilege separation is to prevent privilege escalation by con-
     taining any corruption within the unprivileged processes.  The
     default is "yes".

所以sshd需要两种类型的帐户:

>具有setuid能力的人.
>一个无特权的帐户.

安装脚本解释了通常的SYSTEM帐户没有setuid权限,因此需要额外的特权帐户.

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读