• Stars
    star
    281
  • Rank 141,478 (Top 3 %)
  • Language
    C++
  • License
    Other
  • Created almost 2 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Application runtime environment customization utility

NanaRun NanaRun

Application runtime environment customization utility

Development Status of Components

  • MinSudo
  • NanaEAM
  • NanaKit
  • NanaRun (Windows)
  • NanaRun (Console)
  • NanaRun (SDK)

MinSudo

MinSudo is a lightweight POSIX-style Sudo implementation for Windows.

It makes user possible to use elevated console apps in non-elevated consoles.

For safety, the implementation uses the UAC for elevation and don't support credential cache. It also don't use homemade Windows service and any IPC infrastructures.

Here is the usage.

Format: MinSudo [ Options ] Command

Options:

  --NoLogo Suppress copyright message.
  --Verbose Show detailed information.
  --WorkDir=[ Path ] Set working directory.
  --System Run as System instead of Administrator.
  --TrustedInstaller Run as TrustedInstaller instead of Administrator.
  --Privileged Enable all privileges.

  --Version Show version information.

  /? Show this content.
  -H Show this content.
  --Help Show this content.

Notes:

  - All command options are case-insensitive.
  - MinSudo will execute "cmd.exe" if you don't specify another command.
  - You can use the "/" or "--" override "-" and use the "=" override ":" in 
    the command line parameters. For example, "/Option:Value" and 
    "-Option=Value" are equivalent.

Example:

  If you want to run "whoami /all" as elevated in the non-elevated Console, and
  you don't want to show version information of MinSudo.
  > MinSudo --NoLogo whoami /all