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 sudo server or loop #36

Open
bashton-ajenkins opened this issue Mar 3, 2019 · 2 comments
Open

Add sudo server or loop #36

bashton-ajenkins opened this issue Mar 3, 2019 · 2 comments

Comments

@bashton-ajenkins
Copy link

aconfmgr fails due to sudo timeouts. This is particularly annoying as it happens mid run if ran as a non root user.

@CyberShadow
Copy link
Owner

I suggest disabling sudo password timeouts as follows:

# Disable sudo timeout
echo 'Defaults passwd_timeout=0' > "$(CreateFile /etc/sudoers.d/passwd_timeout  440)"

Not sure there is much aconfmgr can do about this.

@CyberShadow
Copy link
Owner

At some point I will probably add a sudo loop like what pacaur does, to also fix #14. In this case the password will only need to be entered once per aconfmgr run. A sudo true could then be added in the user configuration to give aconfmgr root access immediately.

@CyberShadow CyberShadow changed the title Failure due to sudo timing out Add sudo server or loop Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants