[英]How to see named pipe permission from command line on windows
I've got an existing named pipe, say \\\\.\\pipe\\my_pipe
.我有一个现有的命名管道,比如
\\\\.\\pipe\\my_pipe
。 How can I, from cmd or powershell, get the ACL/Permissions of the pipe ?如何从 cmd 或 powershell 获取管道的 ACL/权限?
This tool helps - https://docs.microsoft.com/en-us/sysinternals/downloads/accesschk此工具有帮助 - https://docs.microsoft.com/en-us/sysinternals/downloads/accesschk
In PowerShell: .\\accesschk64.exe \\.\\pipe<name>在 PowerShell 中:.\\accesschk64.exe \\.\\pipe<name>
ls '\\\\.\\pipe\\' | % { try{ $_.GetAccessControl() } catch{"nope"}}
To expand upon this answer from another post<\/a> :要从
另一篇文章扩展此答案<\/a>:
Get-ChildItem \\.\pipe\ | ForEach-Object -ErrorAction SilentlyContinue GetAccessControl
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.