Bug 701 - Sudo not show custom prompt with some PAM plugins in Non-English environments
Sudo not show custom prompt with some PAM plugins in Non-English environments
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Message catalog
1.8.9
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-24 08:33 MDT by Joel Peláez Jorge
Modified: 2015-07-17 09:24 MDT (History)
0 users

See Also:


Attachments
Patch for fix PAM prompt to upstream (563 bytes, patch)
2015-06-24 08:33 MDT, Joel Peláez Jorge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Peláez Jorge 2015-06-24 08:33:47 MDT
Created attachment 451 [details]
Patch for fix PAM prompt to upstream

When a non translated PAM plugin as pam-krb5 override custom prompt if the environment uses a different language than English.

I analyze the code and it show than sudo only use the custom prompt if the PAM prompt is a translated version of "Password:". The solution is check again the PAM prompt using Default (english string) "Password:".

I put a possible patch for this.
Comment 1 Todd C. Miller 2015-06-25 09:16:46 MDT
Committed, thanks.
Comment 2 Joel Peláez Jorge 2015-06-27 08:40:36 MDT
Sorry for the inconvenience, my first name is Joel and my last names is Peláez Jorge but in the file doc/CONTRIBUTORS show "Jorge, Joel Peláe". Can you fix it please? Thanks.
Comment 3 Todd C. Miller 2015-06-27 14:06:03 MDT
Fixed doc/CONTRIBUTORS entry
Comment 4 Todd C. Miller 2015-07-17 09:24:35 MDT
Fixed in sudo 1.8.14, available now.