Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53878 - Cannot login because of PAM: Missing files /etc/pam.d/login, /etc/pam.d/su, /etc/pam.d/other,...
Summary: Cannot login because of PAM: Missing files /etc/pam.d/login, /etc/pam.d/su, /...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 04:28 UTC by Patrick ALLAERT
Modified: 2004-08-11 23:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick ALLAERT 2004-06-14 04:28:48 UTC
Lot of files are missing in /etc/pam.d/ after a new installation of a gentoo box using the standard "Gentoo Linux/x86 Handbook"

I don't know wich package should include this files pam ? pam-login ?

Reproducible: Always
Steps to Reproduce:
1. Install a Gentoo box using the Gentoo Linux/x86 Handbook
2. After every installation steps: reboot
3. Try to login with a valid user (root)

Actual Results:  
Cannot enter password because the login procedure aborted with a Critical 
error message about PAM 

Expected Results:  
Correctly login in without errors and warnings 

copying /etc/pam.d/* from another gentoo box to this one solved the problem!
Comment 1 SpanKY gentoo-dev 2004-06-14 12:30:45 UTC
you didnt mention what stage file you used

this often happens when USE=pam is out of sync with certain packages ... chances
are you need to re-emerge shadow to fix this
Comment 2 Patrick ALLAERT 2004-06-15 03:29:42 UTC
I began on stage1, I will copy paste additional information (such as USE flags,...) once I have access to this machine again...
But i am sure that "pam" was not in the USE flags!
Comment 3 Patrick ALLAERT 2004-06-16 09:44:23 UTC
"PAM" was not in the use flags at time of the initial "emerge system" this is certainly the mistake I did... (my use flag begins with "-*")

Should the initial merge of the base system be possible with "-pam" ?
If not, a warning or error message should appear...
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-11 23:18:52 UTC
Your system was inconsistant.
If you change USE=pam to USE=-pam, you need to rebuild everything that depends on PAM, before you can safely remove the pam package.

It is entirely possible to have a USE=-pam system, you just need to have your entire system being consistant.

In your case, some package was still compiled with USE=pam and needed /etc/pam.d/*