Giter VIP home page Giter VIP logo

sudoforwindows's Introduction

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 <Path to script | Powershell command>"

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.

sudoforwindows's People

Contributors

chnoky avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gh0st0ne

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.