项目作者: Chnoky

项目描述 :
sudoWs : sudo and sudoers for Windows without UAC prompt
高级语言: C#
项目地址: git://github.com/Chnoky/sudoForWindows.git
创建时间: 2021-03-13T19:41:48Z
项目社区:https://github.com/Chnoky/sudoForWindows

开源协议:MIT License

下载


NAME

sudoWs - sudo and sudoers for Windows



DESCRIPTION

sudoWs is a client-server tool for Windows to run commands and powershell scripts with an elevated account without UAC prompt.



FILES

C:\Program Files\sudoWs\client\
Contains sudoWs client side. Non elevated users can read and execute in this folder.

C:\Program Files\sudoWs\server\
Contains sudoWs server side. Only administrators can access to this folder.

C:\Program Files\sudoWs\sudoers\
Contains command allowed to run with sudoWs. Only administrators can access to this folder.

C:\Program Files\sudoWs\certificate\
Contains the server certificate to authenticate the server. Only administrators can access to this folder.



INSTALLATION

Get installer from Github :

You must generate both client and server executable with Visual Studio.

Then add binaries to “client” and “server” folders in “installer”.

Get installer from Github release :

Download zip installer folder then decompress it.



Run “install_sudoWs.ps1” powershell script in “installer” folder on your personnal computer.

You must run the installer script with a Windows administrator account.



Next, configure the sudoers file C:\Program Files\sudoWs\sudoers\sudoers.txt to allow users or groups to run elevated commands or scripts.



HOW TO USE sudoWs ?

In command console or powershell console :

Run “sudoWs_client.exe



If the args is not in sudoers, execution is denied.

If the args is in sudoers with PASSWD (or none) option, UAC for Adminisrator password is prompting.

If the args is in sudoers with NOPASSWD option, the command or script is run with elevated account (SYSTEM) and the standard output is return.