View previous topic :: View next topic |
Author |
Message |
bdgenz n00b
Joined: 28 Oct 2006 Posts: 13 Location: TX, US
|
Posted: Wed Nov 01, 2006 10:16 pm Post subject: |
|
|
amne wrote: | Merged bdgenz' post here.
bdgenz - please take a look at the posts in this thread - shadow and pam-login block each other because pam-login was merged into shadow iirc. So unless you still have problems logging a second session (don't close the old one yet ) in right now, things should be fine. |
Thanks for the tip,
I should have been able to log into a second session w/only shadow but couldn't. Did emerge -C pam-login && emerge -1 shadow without any luck.
auth.log snippet
Nov 1 14:05:04 home sshd[6111]: error: ssh_rsa_sign: EVP_get_digestbynid 64 failed
Nov 1 14:05:04 home sshd[6111]: fatal: mm_answer_sign: key_sign failed
Tryed logging in as unprived user w/same result.
I'll go thru the thread looking for clues.
Nerve-wracking to say the least. |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
|
Back to top |
|
|
bdgenz n00b
Joined: 28 Oct 2006 Posts: 13 Location: TX, US
|
Posted: Wed Nov 01, 2006 10:27 pm Post subject: |
|
|
Yep, just found that.
Thanks, looking into it now. |
|
Back to top |
|
|
bdgenz n00b
Joined: 28 Oct 2006 Posts: 13 Location: TX, US
|
Posted: Thu Nov 02, 2006 12:53 am Post subject: |
|
|
Reinstalled openssh and couldn't log into a second session.
Power went out at the Co-Lo - what timing!
Magically ssh worked (didn't have the, um... parts... to restart ssh beforehand).
Gentoo is amazing! |
|
Back to top |
|
|
ErnieS n00b
Joined: 14 Jan 2003 Posts: 49 Location: South FL
|
Posted: Sat Jan 06, 2007 12:59 am Post subject: |
|
|
Haven't updated this box in forever. I ran into the pam-login blocks shadow thing and did
Code: | emerge -C pam-login && emerge shadow |
Now I can't log in. (from terminal) I type Code: | root # and receive:
login incorrect |
My root and user accounts still exist as I can chroot in and change passwords etc..
I've added pam to my USE flags and remerged pam and shadow.
/var/log/messages tells me nothing and frankly I'm lost. Please help a frail, old man _________________ Regards, Ernie
100% Microsoft and Intel free |
|
Back to top |
|
|
ErnieS n00b
Joined: 14 Jan 2003 Posts: 49 Location: South FL
|
Posted: Sat Jan 06, 2007 4:34 am Post subject: |
|
|
OK got it fixed. I moved /etc/pam.d/login and re merged shadow all is well _________________ Regards, Ernie
100% Microsoft and Intel free |
|
Back to top |
|
|
anroy n00b
Joined: 19 May 2007 Posts: 25
|
Posted: Tue Jun 05, 2007 2:33 pm Post subject: |
|
|
ecatmur wrote: | [edit: changed to be safer]
emerge --buildpkgonly --nodeps shadow && emerge -C pam-login && emerge --usepkgonly shadow |
I tried this and got the following
Code: | gemini ~ # emerge --buildpkgonly --nodeps shadow && emerge -C pam-login && emerge --usepkgonly shadow
Calculating dependencies... done!
>>> Emerging (1 of 1) sys-apps/shadow-4.0.15-r2 to /
>>> Downloading http://mirror.gentoo.gr.jp/distfiles/shadow-4.0.15.tar.bz2
--23:29:04-- http://mirror.gentoo.gr.jp/distfiles/shadow-4.0.15.tar.bz2
=> `/usr/portage/distfiles/shadow-4.0.15.tar.bz2'
Resolving mirror.gentoo.gr.jp... 219.106.242.53
Connecting to mirror.gentoo.gr.jp|219.106.242.53|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:29:04 ERROR 404: Not Found.
>>> Downloading http://gentoo.gg3.net/distfiles/shadow-4.0.15.tar.bz2
--23:29:04-- http://gentoo.gg3.net/distfiles/shadow-4.0.15.tar.bz2
=> `/usr/portage/distfiles/shadow-4.0.15.tar.bz2'
Resolving gentoo.gg3.net... 220.157.235.239
Connecting to gentoo.gg3.net|220.157.235.239|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:29:04 ERROR 404: Not Found.
>>> Downloading ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/distfiles/shadow-4.0.15.tar.bz2
--23:29:04-- ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/distfiles/shadow-4.0.15.tar.bz2
=> `/usr/portage/distfiles/shadow-4.0.15.tar.bz2'
Resolving ftp.ecc.u-tokyo.ac.jp... 133.11.205.121
Connecting to ftp.ecc.u-tokyo.ac.jp|133.11.205.121|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /GENTOO/distfiles ... done.
==> PASV ... done. ==> RETR shadow-4.0.15.tar.bz2 ...
No such file `shadow-4.0.15.tar.bz2'.
>>> Downloading http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/shadow-4.0.15.tar.bz2
--23:29:05-- http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/shadow-4.0.15.tar.bz2
=> `/usr/portage/distfiles/shadow-4.0.15.tar.bz2'
Resolving ftp.jaist.ac.jp... 150.65.7.130
Connecting to ftp.jaist.ac.jp|150.65.7.130|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:29:05 ERROR 404: Not Found.
>>> Downloading http://gentoo.channelx.biz/distfiles/shadow-4.0.15.tar.bz2
--23:29:05-- http://gentoo.channelx.biz/distfiles/shadow-4.0.15.tar.bz2
=> `/usr/portage/distfiles/shadow-4.0.15.tar.bz2'
Resolving gentoo.channelx.biz... 220.221.19.205
Connecting to gentoo.channelx.biz|220.221.19.205|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:29:06 ERROR 404: Not Found.
>>> Downloading ftp://ftp.pld.org.pl/software/shadow/shadow-4.0.15.tar.bz2
--23:29:06-- ftp://ftp.pld.org.pl/software/shadow/shadow-4.0.15.tar.bz2
=> `/usr/portage/distfiles/shadow-4.0.15.tar.bz2'
Resolving ftp.pld.org.pl... failed: Name or service not known.
!!! Couldn't download shadow-4.0.15.tar.bz2. Aborting.
|
So it is being stopped by
!!! Couldn't download shadow-4.0.15.tar.bz2. Aborting.
Is it possible a download path is wrong? Where are these download paths specified? |
|
Back to top |
|
|
Arfrever Bodhisattva
Joined: 29 Apr 2006 Posts: 2463 Location: 異世界
|
Posted: Tue Jun 05, 2007 2:49 pm Post subject: |
|
|
anroy wrote: | Code: | !!! Couldn't download shadow-4.0.15.tar.bz2. Aborting. |
|
You forgot about: Code: | emerge --sync && emerge portage |
Perduodu linkėjimus
Arfrever |
|
Back to top |
|
|
jeremykoppel n00b
Joined: 02 Mar 2007 Posts: 4
|
Posted: Thu Jun 28, 2007 2:14 pm Post subject: |
|
|
One of my users has updated his system, including the move from pam-login to the new shadow, and while the local users can log in fine, the machine's connection to our openldap domain has broken. I've replicated this problem by updating a test box we have. Both can still do an ldapsearch successfully, but it seems as if the local system is no longer checking ldap for logins. Also, 'getent passwd' only returns results from /etc/passwd. None of the relevant config files have changed. Has anyone else run across this?
I wanted to test if this upgrade was the culprit by downgrading back to the old version of shadow and pam-login, but it seems like pam-login has been removed from portage entirely, so I'm not sure how to downgrade and test. Maybe with the new shadow, /etc/pam.d/system-auth is no longer used, and I should be updating some other config file? I can't seem to find any information on any config changes that should be made when updating to shadow 4.0.18.
I wanted to find some way to either confirm this suspicion and fix it, or a compelling reason to rule it out and look for other anomalies. Any ideas?
--Jeremy |
|
Back to top |
|
|
|