aconfmgr icon indicating copy to clipboard operation
aconfmgr copied to clipboard

Add sudo server or loop

Open bashton-ajenkins opened this issue 6 years ago • 2 comments

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

bashton-ajenkins avatar Mar 03 '19 09:03 bashton-ajenkins

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 avatar Mar 03 '19 12:03 CyberShadow

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 avatar Mar 03 '19 12:03 CyberShadow