Search:  
Gentoo Wiki

Pam_upgrade_guide

Contents

The Pam upgrade

Problem

# ls /etc/pam.d/* | wc -l
46

you'll have 46 files to modify by hand...

Solution

script didn't work...correcting it

still doesn't work?

if you have a message like that:

*
* Your current setup is using one or more of the following modules,
* that are not built or supported anymore:
* pam_pwdb, pam_radius, pam_timestamp, pam_console
* If you are in real need for these modules, please contact the maintainers
* of PAM through http://bugs.gentoo.org/ providing information about its
* use cases.
* Please also make sure to read the PAM Upgrade guide at the following URL:
*   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
*
*
* ERROR: sys-libs/pam-0.99.9.0 failed.
* Call stack:
*             ebuild.sh, line 1717:  Called dyn_preinst
*             ebuild.sh, line 1156:  Called pkg_preinst
*   pam-0.99.9.0.ebuild, line  166:  Called die
* The specific snippet of code:
*      check_old_modules || die "deprecated PAM modules still used"
*  The die message:
*   deprecated PAM modules still used
*
* If you need support, post the topmost build error, and the call stack if relevant.
* This ebuild used the following eclasses from overlays:
*   /usr/portage/eclass/libtool.eclass
*   /usr/portage/eclass/multilib.eclass
*   /usr/portage/eclass/toolchain-funcs.eclass
*   /usr/portage/eclass/eutils.eclass
*   /usr/portage/eclass/portability.eclass
*   /usr/portage/eclass/autotools.eclass
*   /usr/portage/eclass/pam.eclass
*

you must search for files with pam_pwdb or pam_radius or pam_timestamp or pam_console inside:

for example for pam_pwdb

cd /etc/pam.d/
grep pam_pwdb *

then repeat the process with pam_radius

cd /etc/pam.d/
grep pam_radius *

then do the same with pam_timestamp then with pam_console

if you find things such as:

# grep pam_timestamp *
config-util:session             optional        pam_timestamp.so

just comment the line as it is optional otherwise ask to the irc or to the gentoo forums because i don't know what to do

Retrieved from "http://www.gentoo-wiki.info/Pam_upgrade_guide"

Last modified: Fri, 05 Sep 2008 08:01:00 +0000 Hits: 320