-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
How to properly avoid dozens of password prompt when using --sudo doas
?
#470
Comments
As there are various implementations of doas around. Which one are you using? |
OpenDoas |
Okay. Just to make sure: Could you paste how you set the persist option in the config? |
I make the I installed tomb with |
I switched to NixOS and this problem still exist. I followed exactly the configuration here: https://nixos.wiki/wiki/Doas And this is the outcome of
And because of the immutable nature of NixOS, now I cannot use some custom scripts to manipulate Can't no one reproduce this problem? I can reproduce it on all of my machines . |
Just like this, I input 8 passwords to mount a single tomb image.
|
NixOS is also using Duncaen's OpenDoas |
To describe exactly the "workaround" I mention above:
I made a wrapper shell script of tomb working in this way: |
I also do have Somehow the tomb script loses that persistance, and I haven't understood why yet. Could it be doing stuff like forking or something that would create a "new environment"? |
When implementing doas support I also stumbled into this, noticing persist wasn't effective. I don't know the exact cause, but recognize is very annoying: it actually prevents me from using doas. I need a closer analysis to answer your last question, AFAIK we do not fork but many things were tried in the past... |
This is nice to see tomb support doas.
However when using
tomb --sudo doas -D open -f tombfile -k tombfile.key
Sometimes the doas password prompt for about 30 times in order to do one successful mount.
The
persist
option did not work in the/etc/doas.conf
What is the proper way to avoid this? Thanks.
The text was updated successfully, but these errors were encountered: