[request] please add a general 'as root' example
cjwyett opened this issue · 2 comments
cjwyett commented
Hi,
I get that the main USP here is the fine grained control.
Can we have a more broad example on how to replace sudo/doas?
I'm not a sysadmin, I just want to use the hottest new sudo replacement to run commands as root!
edneville commented
Hello,
There's an example in the please.ini.md document:
```
[user_ed_root]
name=ed
target=root
regex=^.*$
```
That will get you a quick and dirty shell.
Add require_pass = false, if you want to emulate NOPASSWD.
Ed
…On 2021-02-14 10:16-0800, Cyrus Wyett wrote:
Hi,
I get that the main USP here is the fine grained control.
Can we have a more broad example on how to replace sudo/doas?
I'm not a sysadmin, I just want to use the hottest new sudo replacement to run commands as root!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#1
cjwyett commented
Perfect, thanks!