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

Reset timesamp while using sudo #203

Closed
physkets opened this issue Apr 2, 2019 · 1 comment
Closed

Reset timesamp while using sudo #203

physkets opened this issue Apr 2, 2019 · 1 comment

Comments

@physkets
Copy link

physkets commented Apr 2, 2019

Would you consider using /usr/bin/sudo -k as the default sudo_command ?

This will ensure that escalated privileges do not remain active for any other sudo commands that may appear in a PKGBUILD.

This issue is motivated by the following post on Reddit:
https://www.reddit.com/r/archlinux/comments/b0m6q8/everything_is_wrong_with_aur_helpers/

@physkets
Copy link
Author

physkets commented Apr 2, 2019

And use a separate variable (say, sudo_native pointing to /usr/bin/sudo) in the start_sudo_autorepeat() function.

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

1 participant