Index: [Article Count Order] [Thread]

Date:  Wed, 6 Sep 2006 00:44:42 -0400
From:  "Brian N. Smith" <brian (at mark) nuonce.net>
Subject:  [coba-e:06767] Re: Yum Update broke my system.  need help
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <04a701c6d16f$2bba1bf0$1e64a8c0@moe>
References:  <085701c6d168$7946b9c0$0369a8c0@jimcorp>
X-Mail-Count: 06767

>I did a YUM update just now and after rebooting my system is no 
>longer authenticating users. Apache wont start etc...

Do this line by line, and you should be fine.

rpm -e --nodeps pam
cd /etc/yum.repos.d
rm -f CentOS-Base.repo
wget http://www.nuonce.net/bq/CentOS-Base.repo
yum install pam

Now, look at the following files;

cat /etc/pwdb.conf

#
# This is the configuration file for the pwdb library
#

user:
        unix+shadow
        unixdb+shadowdb
        unix

group:
        unix+shadow
        unixdb+shadowdb
        unix

If it doesn't look like that, make it look like that.  Then look at 
this file

cat /etc/nsswitch.conf

Look for these three lines:

passwd:     db files
shadow:     db files
group:      db files

If they do not have "db" before the "files", add them.

Once you do that, Pam will function just fine then!

Thanks,
Brian N. Smith
NuOnce Networks, Inc.