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

doas asks for password #118

Closed
TonyBostonTB opened this issue Oct 1, 2018 · 3 comments
Closed

doas asks for password #118

TonyBostonTB opened this issue Oct 1, 2018 · 3 comments

Comments

@TonyBostonTB
Copy link

Hi,

at OpenPGP Web Key Service (WKS)

doas -u vmail \
	env -i HOME=/var/vmail \
	gpg-wks-server --list-domains

doas asks for a password, although it shouldn't
Any ideas?

@horia
Copy link
Contributor

horia commented Oct 1, 2018

It should ask for password, and can be temporarily disabled in doas.conf

# WKS: expire non confirmed publication requests
permit nopass root as vmail cmd env #args \
#    -i HOME=/var/vmail /usr/local/bin/gpg-wks-server --cron

@TonyBostonTB
Copy link
Author

ahh I see, but you didn't mention to set a password for user vmail ;)

@horia
Copy link
Contributor

horia commented Oct 1, 2018

You may add a password for user vmail, but doas asks for root's password:

  • It should, because it wasn't configured with "nopass"

You are right that it should not ask for password during install, and INSTALL.md needs an update.

horia added a commit that referenced this issue Oct 1, 2018
horia added a commit that referenced this issue Oct 1, 2018
[#118] Add temp WKS installation patch for doas.conf
- thank you @TonyBostonTB
horia added a commit that referenced this issue Oct 12, 2018
[#118] Add temp WKS installation patch for doas.conf
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