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

windows-server-2008 – 在服务器2008 R2中,如果我以管理员模式

发布时间:2020-12-25 15:15 所属栏目:117 来源:网络整理
导读:在server 2008 R2中,如果我以管理员模式运行应用程序,子进程是否仍处于相同模式? 我提出这个问题是因为我怀疑应用程序中的子进程没有以管理员模式运行. 是的,子进程继承父进程的访问令牌(从TechNet上的 UAC Process and Interactions开始): Each applicati

在server 2008 R2中,如果我以管理员模式运行应用程序,子进程是否仍处于相同模式?

我提出这个问题是因为我怀疑应用程序中的子进程没有以管理员模式运行.

是的,子进程继承父进程的访问令牌(从TechNet上的 UAC Process and Interactions开始):

Each application that requires the administrator access token must prompt the administrator for consent. The one exception is the relationship that exists between parent and child processes. Child processes inherit the user access token from the parent process. Both the parent and child processes,however,must have the same integrity level.

一些相关的奖金信息:

runas实用程序有两个记录不良的交换机,名为/ showtrustlevels和/ trustlevel,它们似乎允许您使用标准用户令牌(而不是管理令牌)启动(从提升的进程)新进程,而不会降低子进程的完整性级别:

runas /trustlevel:0x20000 cmd.exe

你会发现Window标题包含(以[username]运行,具有受限制的权限),whoami将显示受限制的权限和组列表,与提升的提示相比:

(编辑:ASP站长网)

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