CyberShadow / aconfmgr

A configuration manager for Arch Linux
1.13k stars 39 forks source link

Add sudo server or loop #36

Open bashton-ajenkins opened 5 years ago

bashton-ajenkins commented 5 years ago

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

CyberShadow commented 5 years ago

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 commented 5 years ago

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.