From: Hal Martin <hal.martin@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] pam upgrade issue
Date: Wed, 30 Jan 2008 00:23:35 -0500 [thread overview]
Message-ID: <47A009D7.1060707@gmail.com> (raw)
In-Reply-To: <697772.28752.qm@web31704.mail.mud.yahoo.com>
maxim wexler wrote:
> Hi group,
>
> Now emerge -uD world barfs at pam-0.99 and directs me
> to
>
> http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>
Yeah, that guide is useless. I'm assuming that you're trying to update
PAM from 0.99.8.1-r1 to 0.99.9.0?
> Here, among other things, it says to edit certain
> files, but it doesn't say which ones? Unless it means
> all of the ones under /etc/pam.d/ I checked several of
> them and none mentions pam_stack.so
>
> It mentions two new packages pam_userdb and
> pam_chroot.
>
'cd /etc/pam.d/'
'grep pam_chroot *'
'grep 'pam_userdb *'
If that doesn't come up with anything, then do this (probably not right,
but it worked for me):
'mv /etc/pam.d /etc/pam.d.0.99.8.1-r1'
'mkdir /etc/pam.d'
'emerge -av pam shadow'
'revdep-rebuild'
And then after that you have to re-emerge all the applications at have
auth files in /etc/pam.d. Probably gonna be (at least) cron, cups, cvs,
login, passwd, shadow (already done...), sshd, sudo, and possibly more.
Speaking of which, if you can't get to root, you're going to have to do
this from a liveCD. Also, I would suggest popping in the Gentoo channel
on Freenode, there are some very helpful people there.
> Doesn't say to emerge them but I tried nonetheless.
> Attempts to emerge them fail with the same notice for
> both of them:
>
>
> * Your current setup is using the pam_stack module.
> * This module is deprecated and no longer supported,
> and since version
> * 0.99 is no longer installed, nor provided by any
> other package.
> * The package will be built (to allow binary package
> builds), but will
> * not be installed.
> * Please replace pam_stack usage with proper include
> directive usage,
> * following the PAM Upgrade guide at the following
> URL
> *
> http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
> *
>
> I took a chance and unmerged the deprecated pam and
> now I can't su and probably other stuff I don't know
> about yet.
>
Yeah, time for a LiveCD.
Probably not the "right" way of doing it, but then again, there is no
firmly documented "right" way since I forgot to take notes! >.<
-Hal
>
>
> ____________________________________________________________________________________
> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
--
gentoo-user@lists.gentoo.org mailing list
prev parent reply other threads:[~2008-01-30 5:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-30 0:32 [gentoo-user] pam upgrade issue maxim wexler
2008-01-30 5:22 ` Dan Farrell
2008-01-30 5:23 ` Hal Martin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47A009D7.1060707@gmail.com \
--to=hal.martin@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox