[Bug 1001755] Re: After changing language, password no more accepted in terminal and at resume from suspend
Fabio Marconi
fabiomarconi at ubuntu.com
Sat May 26 10:15:45 UTC 2012
Hello Steve
I've assigned this to pam just because I don't know who manage ~/.pam_environement but as it is a pam file, probalby is related to it.
I've also found this error (before remove that lines) in auth.log but nothing on syslog:
quantic sudo: pam_unix(sudo:auth): authentication failure; logname=njin
uid=1000 euid=0 tty=/dev/pts/0 ruser=njin rhost= user=njin
I've tried to add again that lines to my 'reinstalled' system (with the old /home) reboot and I can reproduce it.
So I want to know who manage this file during the change of the language process and why it ley back that two residual lines.
I'm going to reinstall Precise changing language and try again if it reproduces.
Thanks
Fabio
Can you also point me to a valid documentation on pam and how it works?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad
** Changed in: pam (Ubuntu)
Status: Incomplete => New
--
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:
New
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