doas-sudo-shim
doas-sudo-shim copied to clipboard
sudo shim for doas
i can see that arguments on sudo script allows any input inside arguments.. this can leak some kind of security risk i guess
https://github.com/jirutka/doas-sudo-shim/blob/0cf9c9b4c5c7b5a5b517f569fc9cc16ebfb08253/sudo#L59C29-L59C29 So can other commands be used instead?
Feature Request: `doasedit` to proxy to `sudoedit`. It is a natural fit to this repo. A few examples: - https://github.com/TinfoilSubmarine/doasedit - https://gitlab.com/magnustesshu/doasedit/-/blob/master/doasedit (this one is used in AUR: https://aur.archlinux.org/packages/doasedit)
from sudo man page: ``` -S, --stdin Write the prompt to the standard error and read the password from the standard input instead of using the terminal device. ```