Bugzilla – Bug 704
/var/db/sudo/lectured/ is not updated
Last modified: 2015-08-07 10:27:35 MDT
sudo version 1.8.14.pi fails to create a user entry in /var/db/sudo/lectured, resulting in the lecture being displayed every time sudo is used. This occurs whether or not Defaults lecture=once is specified in the configuration file. However, Defaults lecture=never is honored. Workarounds 1. Set Defaults lecture=never 2. As root, touch the /var/db/sudo/lectured/<username> entry Confirmed on the following: Arch Linux ARM, Kernel 4.0.8 Arch Linux, Kernel 4.1.2 Relevant bug report on the Arch Linux bugtracker https://bugs.archlinux.org/task/45722
I just committed a fix: http://www.sudo.ws/repos/sudo/rev/1ff77fd5cc8f
Fixed in Sudo 1.8.14p2