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

Allow to configure SudoLoopDuration associated with sudoloop #2382

Open
benjarobin opened this issue Feb 28, 2024 · 1 comment
Open

Allow to configure SudoLoopDuration associated with sudoloop #2382

benjarobin opened this issue Feb 28, 2024 · 1 comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request

Comments

@benjarobin
Copy link
Contributor

benjarobin commented Feb 28, 2024

Is your feature request related to a problem? Please describe.

The user may have change default timestamp_timeout= (which is equal to 5 minutes) in /etc/sudoers to a shorter value.

Describe the solution you'd like

Add a flag to configure the loop period that "refresh sudo".

Allow to configure this "const" SudoLoopDuration value : https://github.com/Jguer/yay/blob/next/pkg/settings/exe/cmd_builder.go#L280C14-L280C30

@benjarobin benjarobin added Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request labels Feb 28, 2024
@drws
Copy link

drws commented Mar 18, 2024

Unfortunately the sudo loop has a big problem. It's not the correct approach in the first place, see #2170, and needs to be replaced with a more versatile solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants