Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing trust store does not work for opendoas instead of sudo #510

Open
beune opened this issue Mar 6, 2023 · 1 comment
Open

Installing trust store does not work for opendoas instead of sudo #510

beune opened this issue Mar 6, 2023 · 1 comment

Comments

@beune
Copy link

beune commented Mar 6, 2023

I have opendoas instead of sudo, and this causes mkcert -install to fail:

Created a new local CA 💥
ERROR: failed to execute "tee": exit status 1

sudo: invalid option -- '-'
usage: doas [-Lns] [-C config] [-u user] command [args]

Can the implementation be updated to support multiple 'sudo' programs?

@ubermanu
Copy link

I had the same issue and decided to look at it

I've written a small bash script that wraps doas to accept some sudo args (and omit the unsupported ones)

So the "--prompt" arg would be stripped when running mkcert -install

See https://github.com/ubermanu/sudoas/blob/main/sudo.bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants