is-root
Check if the process is running as root user, for example, one started with `sudo`
Check if the process is running as root user, for example, one started with `sudo`
Run a command using sudo, prompting the user with an OS dialog if necessary
Block users from running your app with root permissions
Try to downgrade the permissions of a process with root privileges and block access if it fails
Try to downgrade the permissions of a process with root privileges
Check if the process is running with elevated privileges
Support for Windows services, event logging, UAC, and several helper methods for interacting with the OS.
A simple utility for executing cli commands with an assumed role.
Windows sudo equivalent
A wrapper class for ssh2 to run multiple sequential commands in an SSH shell session, handle command responses, and tunnel through to other hosts using nested host objects
Executes a command in an elevated command prompt
yet another sudo command helper
Like fs module. To use with sudo / elevate. Works on linux, mac, windows.
Cached yasudo
Execute commands with privileges!
Sudo spawning utilities
Electron subprocess with administrative privileges, prompting the user with an OS dialog if necessary.
Using sudo with password.
Universal package installer, get the command for managing packages, or auto install any package, using one command for all platforms. Automate the installation of macOS Brew, and Windows Chocolatey package managers. A promisify child process of spawn, and
Electron subprocess with administrative privileges, prompting the user with an OS dialog if necessary.