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

Persist does not work on Arch #94

Closed
ad-on-is opened this issue Feb 2, 2022 · 2 comments
Closed

Persist does not work on Arch #94

ad-on-is opened this issue Feb 2, 2022 · 2 comments

Comments

@ad-on-is
Copy link

ad-on-is commented Feb 2, 2022

I've installed opendoas from the Arch repo which seems to be built with the --with-timestamp config.
https://github.com/archlinux/svntogit-community/blob/packages/opendoas/trunk/PKGBUILD

However, the password is not persisted, even thou I've added permit persist :wheel in the /etc/doas.conf

Is there something I'm missing?

@ad-on-is
Copy link
Author

ad-on-is commented Feb 3, 2022

Ok, I found the issue.. It's the ordering of settings.

This does not work

permit persist :wheel
permit setenv { XAUTHORITY LANG LC_ALL } :wheel

However, this works

permit setenv { XAUTHORITY LANG LC_ALL } :wheel
permit persist :wheel

@ad-on-is ad-on-is closed this as completed Feb 3, 2022
@ericonr
Copy link

ericonr commented Feb 3, 2022

You're overriding the config for :wheel, that should be a single line with all the configs.

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