The Wayback Machine - https://web.archive.org/web/20231225080934/https://github.com/M2Team/NanaRun
Skip to content

M2Team/NanaRun

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.

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