RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1348504 - sudo parses sudoers config with user's locale
Summary: sudo parses sudoers config with user's locale
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sudo
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Kopeček
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
Depends On: 1318374 1348533 sudo-rhel7.4-rebase
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-21 10:47 UTC by Daniel Kopeček
Modified: 2017-08-01 17:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1318374
Environment:
Last Closed: 2017-08-01 17:03:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2017 0 normal SHIPPED_LIVE sudo bug fix and enhancement update 2017-08-01 18:02:36 UTC

Description Daniel Kopeček 2016-06-21 10:47:22 UTC
+++ 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:

Comment 3 Tomas Sykora 2017-02-17 13:57:17 UTC
This issue will be fixed in rhel 7.4 by rebase. It is now available in testing copr build sudo-1.8.19p2-1.el7.

Comment 6 errata-xmlrpc 2017-08-01 17:03:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2017

Comment 7 errata-xmlrpc 2017-08-01 17:27:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2017


Note You need to log in before you can comment on or make changes to this bug.