This repository was archived by the owner on Oct 6, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
[Feature complete] A simpler alternative to sudo and doas
License
NotificationsYou must be signed in to change notification settings
maandree/asroot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repo has been moved to Codeberg and may be out of date on GitHub.Canonical repo:https://codeberg.org/maandree/asrootNAMEasroot - run a process as the root userSYNOPSISasroot [-e] command [argument] ...DESCRIPTIONThe asroot utility asks for the user's password and runs the specifiedcommand with sanitised and updated environment variables.Only users in the wheel group are allowed to run the asroot utility,unless it is installed with non-standard permissions.OPTIONSThe asroot utility conforms to the Base Definitions volume ofPOSIX.1-2017, Section 12.2, Utility Syntax Guidelines.The following option is supported:-eKeep the environment variables as is. Neither sanitise norupdate them.OPERANDSThe following operands are supported:commandThe command that shall be run with as the root user. This willbe both the process image and the process's zeroth command lineargument.argument ...Command line arguments for the command to run.SEE ALSOeditasroot(8), key2root(8), sudo(8), doas(1), su(1)
About
[Feature complete] A simpler alternative to sudo and doas
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published