+++ This bug was initially created as a clone of Bug #1318374 +++ Description of problem: If user uses locale like cs_CZ.UTF-8 and sudo is configred to use passwd_timeout to seconds, like 0.1 = 6s. sudo command uses user's locale to parse this number and prints error message. Version-Release number of selected component (if applicable): sudo-1.8.6p3-19.el6 How reproducible: 100% Steps to Reproduce: 1. # echo "Defaults passwd_timeout = 0.1" >> /etc/sudoers 2. $ LANG=cs_CZ.UTF-8 sudo bash Actual results: $ LANG=cs_CZ.UTF-8 sudo bash sudo: value `0.1' is invalid for option `passwd_timeout' [sudo] password for test: Expected results: $ LANG=cs_CZ.UTF-8 sudo bash [sudo] password for test:
Created attachment 1177193 [details] A patch solving described problem.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
This bug was fixed by upstream: https://www.sudo.ws/repos/sudo/rev/c8deb0da75b4. The sudoers locale is now set before parsing the sudoers file.