touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #49837
[Bug 1414303] [NEW] sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
Public bug reported:
I use libpam-krb5 for authentication, when I use sudo it show this
prompt
Password:
Not the default of sudo
[sudo] password for (user):
But if it's set LANG=C (no locale) with module libpam-krb5 show the
default prompt of sudo.
With the module pam_unix (default of system) work without problems.
Then the problem is in locale support of one of these packages. At check
the source code of two I reached the conclusion.
1. libpam-krb5 not support translations.
2. sudo replaces the PAM prompt if this is "Password:" or translate of
this. But sudo only check "Password:" translated on current language
config (example "Contraseña:" on "es" locale).
This bug not cause "real" problem but it may reveal the authentication
system in use.
This report has attached a (possible) patch of sudo for fix the bug.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: sudo 1.8.9p5-1ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
Date: Sat Jan 24 07:50:23 2015
InstallationDate: Installed on 2015-01-12 (12 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: sudo
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck:
/etc/sudoers análisis OK
/etc/sudoers.d/README análisis OK
** Affects: sudo (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug utopic
** Patch added: "sudo patch for fix prompt issue with some PAM modules"
https://bugs.launchpad.net/bugs/1414303/+attachment/4304839/+files/sudo.diff
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1414303
Title:
sudo show predefine PAM prompt with some PAM Modules, no default sudo
prompt
Status in sudo package in Ubuntu:
New
Bug description:
I use libpam-krb5 for authentication, when I use sudo it show this
prompt
Password:
Not the default of sudo
[sudo] password for (user):
But if it's set LANG=C (no locale) with module libpam-krb5 show the
default prompt of sudo.
With the module pam_unix (default of system) work without problems.
Then the problem is in locale support of one of these packages. At
check the source code of two I reached the conclusion.
1. libpam-krb5 not support translations.
2. sudo replaces the PAM prompt if this is "Password:" or translate of
this. But sudo only check "Password:" translated on current language
config (example "Contraseña:" on "es" locale).
This bug not cause "real" problem but it may reveal the authentication
system in use.
This report has attached a (possible) patch of sudo for fix the bug.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: sudo 1.8.9p5-1ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
Date: Sat Jan 24 07:50:23 2015
InstallationDate: Installed on 2015-01-12 (12 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: sudo
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck:
/etc/sudoers análisis OK
/etc/sudoers.d/README análisis OK
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1414303/+subscriptions
Follow ups
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Launchpad Bug Tracker, 2015-09-23
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Launchpad Bug Tracker, 2015-09-22
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Mathieu Trudel-Lapierre, 2015-09-22
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Joel Peláez Jorge, 2015-06-28
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Marc Deslauriers, 2015-06-23
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Martin Pitt, 2015-05-29
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Daniel Holbach, 2015-05-11
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Brian Murray, 2015-01-26
-
[Bug 1414303] Re: sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Ubuntu Foundations Team Bug Bot, 2015-01-24
-
[Bug 1414303] [NEW] sudo show predefine PAM prompt with some PAM Modules, no default sudo prompt
From: Joel Peláez Jorge, 2015-01-24
References