I'm heavy command line user including updating my system. It seems sudoers is working differently from 24.04. Here's the setup on both installs:
EXACTLY the same setup using 26.04 requires my sudo password. The behavior is the same whether or not I use the alias. In other words "apt update" also promptes for a password
There are several other entires for other commands that behave the same way: no password required on 24.04 but it is on 26.04.
I'm thinking this is a bug, but wondering if anyone else has noticed this.
- In /etc/sudoers.d/ is a file named "apt"
- It contains: "stuart office=(root) NOPASSWD: /usr/sbin/apt-get,/usr/sbin/apt,/usr/bin/add-apt-repository,/usr/bin/apt-add-repository,/usr/sbin/apt-overlay"
- In ~/,bash_aliases is: "alias update='sudo apt update; sudo apt list --upgradable'"
EXACTLY the same setup using 26.04 requires my sudo password. The behavior is the same whether or not I use the alias. In other words "apt update" also promptes for a password
There are several other entires for other commands that behave the same way: no password required on 24.04 but it is on 26.04.
I'm thinking this is a bug, but wondering if anyone else has noticed this.





Comment