![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: May 2007
Location: Dubai
Beans: 252
Ubuntu 9.04 Jaunty Jackalope
|
Login screen asks for password twice
i have asked this many times, i believe there is a solution for this :
i have edited some configuration for keyring to stop asking for the keyring password in every login where it went fine, but after that the login screen started to ask me to enter the password twice to be able to login, any idea how to make it ask for the password just one time ??? |
|
|
|
|
|
#2 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Location: Belgium
Beans: 564
Hardy Heron (Ubuntu Development)
|
Re: login password twice
It seems to be a pam problem.
What did you do to any pam files? (/etc/pam.d) |
|
|
|
|
|
#3 |
|
Way Too Much Ubuntu
![]() Join Date: May 2007
Location: Dubai
Beans: 252
Ubuntu 9.04 Jaunty Jackalope
|
Re: login password twice
as forum suggested i have added the following to this file /etc/pam.d/gdm :
auth optional pam_keyring.so try_first_pass session optional pam_keyring.so |
|
|
|
|
|
#4 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Location: Belgium
Beans: 564
Hardy Heron (Ubuntu Development)
|
Re: login password twice
I guess you installed libpam-keyring package.
So instead of Code:
auth optional pam_keyring.so try_first_pass session optional pam_keyring.so just put : Code:
@include common-pamkeyring |
|
|
|
|
|
#5 |
|
Way Too Much Ubuntu
![]() Join Date: May 2007
Location: Dubai
Beans: 252
Ubuntu 9.04 Jaunty Jackalope
|
Re: login password twice
ok here is what i did :
- sudo gedit /etc/pam.d/gdm - then i did the replacement u told me about but it is still the same i should enter the password two times |
|
|
|
|
|
#6 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Location: Belgium
Beans: 564
Hardy Heron (Ubuntu Development)
|
Re: login password twice
Could you explain more?
When exactly are you asked for the password the second time? Both in login screen? One before, one after? Eventually, post your /etc/pam.d/common-auth, /etc/pam.d/common-account and /etc/pam.d/gdm |
|
|
|
|
|
#7 |
|
Fresh Brewed Ubuntu
![]() Join Date: Jul 2006
Location: Orlando
Beans: 1,260
Ubuntu 8.04 Hardy Heron
|
Re: Login screen asks for password twice
It's possible network manager is asking the p/w after login when detecting networks???
__________________
Registered Linux User #419773, Ubuntu User #8473 If you type rm -Rf / as root at command line you will get herpes... then die... "It is what it is." |
|
|
|
|
|
#8 |
|
Way Too Much Ubuntu
![]() Join Date: May 2007
Location: Dubai
Beans: 252
Ubuntu 9.04 Jaunty Jackalope
|
Re: Login screen asks for password twice
here is the case exactly :
on the login screen itself i asked to enter the username first then password, as i enter the password and then press enter the password text field is cleared and i should enter the password again after that it will login and load desktop. guys am not talking about the network password or the keyring password, it is all in the login screen before loading the desktop, but i mentioned the keyring in my post because this behavior appeared after i did the configuration for keyring. |
|
|
|
|
|
#9 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Location: Belgium
Beans: 564
Hardy Heron (Ubuntu Development)
|
Re: Login screen asks for password twice
Ok. Could you then post the files I asked you?
Code:
cat /etc/pam.d/common-account cat /etc/pam.d/common-auth cat /etc/pam.d/gdm |
|
|
|
|
|
#10 |
|
Way Too Much Ubuntu
![]() Join Date: May 2007
Location: Dubai
Beans: 252
Ubuntu 9.04 Jaunty Jackalope
|
Re: Login screen asks for password twice
the result for cat /etc/pam.d/common-account :
# # /etc/pam.d/common-account - authorization settings common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of the authorization modules that define # the central access policy for use on the system. The default is to # only deny service to users whose accounts are expired in /etc/shadow. # account required pam_unix.so the result for cat /etc/pam.d/common-auth: # # /etc/pam.d/common-auth - authentication settings common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of the authentication modules that define # the central authentication scheme for use on the system # (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the # traditional Unix authentication mechanisms. # auth required pam_unix.so nullok_secure the result for cat /etc/pam.d/gdm : #%PAM-1.0 auth optional pam_keyring.so try_first_pass session optional pam_keyring.so auth requisite pam_nologin.so auth required pam_env.so @include common-auth @include common-account session required pam_limits.so @include common-session @include common-password i hope i got u the needed output. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|