Pamac needs to not time out password

Or, instead of messing with the sudoers file, they could add a drop-in to the /etc/sudoers.d/ directory by running this command in a terminal:

echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/pacman -Syu" | sudo tee "/etc/sudoers.d/dont-prompt-$USER-for-sudo-password-for-pacman-updates"

Regarding not needing a password for Pamac, this might be a solution:

1 Like