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

Add support for sudo alternatives (e.g. doas) #412

Merged
merged 5 commits into from
Apr 15, 2021

Conversation

heat-wave
Copy link
Contributor

  • Replaced a stray unwrapped sudo usage with _sudo call
  • doas does not support custom prompts, so the formatted message still only applies to sudo
  • Not entirely sure how many tests we want to cover that functionality with; I added basic ones but can duplicate others (with the same --sudo doas) as well

@heat-wave heat-wave mentioned this pull request Apr 7, 2021
| gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \
| hexdump -C &&
tt_lock --tomb-pwd $DUMMYPASS --sphx-user $DUMMYUSER --sphx-host $DUMMYHOST
'
Copy link
Collaborator

@Narrat Narrat Apr 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also wrong indention. Seems that this should be a real tab.

Edit: Ignore that. I only looked at the first commit at that time

tomb Outdated Show resolved Hide resolved
tomb Show resolved Hide resolved
@heat-wave heat-wave requested a review from jaromil April 9, 2021 11:09
@jaromil
Copy link
Member

jaromil commented Apr 15, 2021

Many thanks for this contribution!!

@jaromil jaromil merged commit ce521ed into dyne:master Apr 15, 2021
@bugsbugsbux
Copy link

as this is now merged ill close the doas support issue #410

great work guys, thanks

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

Successfully merging this pull request may close these issues.

4 participants