[Bug 1001755] Re: After changing language, password no more accepted in terminal and at resume from suspend
Steve Langasek
steve.langasek at canonical.com
Fri May 25 21:25:51 UTC 2012
Why do you think this is a pam bug? The default sudo PAM configuration
doesn't ever look at ~/.pam_environment - a recent fix to sudo now
causes it to read /etc/environment where it previously failed to do so;
but that was published *after* your bug report was filed, and certainly
does not look at ~/.pam_environment.
Are there failures showing in syslog for these failed logins?
I cannot reproduce this behavior by changing the language variables in
my environment.
** Changed in: pam (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1001755
Title:
After changing language, password no more accepted in terminal and at
resume from suspend
Status in “pam” package in Ubuntu:
Incomplete
Bug description:
Hello
After language change, I cannot run sudo commands in terminal, or login at resume from suspend, my password is not accepted.
The password is accepted at login and in tty.
Thanks
Fabio
=25/05=
I've tried to recreate the user, reinstall keeping my home, but it exist again.
On another machine at same level, the bug not appear
If I create another user, it is not affected, so i'm thinking at something in my home dir that is the only thing not changed, but what ?
**Workaround**
gedit ~/.pam_environement
and removed:
LANGUAGE=it_IT:en
LANG=it_IT.UTF-8
to have the file like this:
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
It works as expected.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad
ProblemType: BugDistroRelease: Ubuntu 12.10
Package: sudo 1.8.3p1-1ubuntu5
ProcVersionSignature: Ubuntu 3.4.0-2.6-generic 3.4.0-rc7
Uname: Linux 3.4.0-2-generic x86_64
ApportVersion: 2.1-0ubuntu1
Architecture: amd64
Date: Sat May 19 21:32:49 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)SourcePackage: sudo
Sudoers:
Error: command ['gksu', '-D', 'Apport', '--', 'env', '-u', 'LANGUAGE', 'LC_MESSAGES=C', '/bin/cat', '/etc/sudoers'] failed with exit code 255:
(process:2920): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck:
Error: command ['gksu', '-D', 'Apport', '--', 'env', '-u', 'LANGUAGE', 'LC_MESSAGES=C', '/usr/sbin/visudo', '-c'] failed with exit code 255:
(process:2930): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1001755/+subscriptions
More information about the foundations-bugs
mailing list