我刚刚为某些资源授予了MSA(托pipe服务帐户)的权限。
我可以validation它的工作,通过运行一个cmd.exe进程与MSA帐户的凭据,并检查我有适当的权限?
cmd.exe
可能与Sysinternals的PsExec工具,一个空白的密码。
命令示例:
PsExec.exe -u domain\MsaAccount$ cmd.exe
跳过密码提示,用〜代替powershell中的密码。
./psexec -i -u domain\gMSA$ -p ~ notepad.exe