Bug#1100572: sudo: fails to parse regular expressions in sudoers file

2025-03-15 Thread Marc Haber
On Sat, Mar 15, 2025 at 04:48:10PM +, François Homps wrote: Thus I'd argue there is still a bug. Would you mind taking this to the upstream mailing list? Todd might be helpful here, and probably develop a fix. That fix will, however, NOT go into Debian 12. It might be in Debian 13. Gree

Bug#1100572: sudo: fails to parse regular expressions in sudoers file

2025-03-15 Thread François Homps
Hi Marc, Thanks for the lightning fast reply. > Did you try > > %minecraft ALL= NOPASSWD: ^/bin/systemctl start minecraft@[a-zA-Z0-9_]+$ This does not work, but... > %minecraft ALL= NOPASSWD: /bin/systemctl ^start minecraft@[a-zA-Z0-9_]+$ ...this does. Thus, problem solved for my use case. Tha

Bug#1100572: sudo: fails to parse regular expressions in sudoers file

2025-03-15 Thread Marc Haber
On Sat, Mar 15, 2025 at 03:43:00PM +0100, fhomps wrote: sudo does not seem to parse regular expressions in sudoers files properly. man sudo states it should be able to do so since 1.9.10. I have not tested the debian testing version (1.9.16) as I am not comfortable replacing an important securit

Bug#1100572: sudo: fails to parse regular expressions in sudoers file

2025-03-15 Thread fhomps
Package: sudo Version: 1.9.13p3-1+deb12u1 Severity: normal X-Debbugs-Cc: franc...@homps.fr Dear Maintainer, sudo does not seem to parse regular expressions in sudoers files properly. man sudo states it should be able to do so since 1.9.10. I have not tested the debian testing version (1.9.16) as