can't log in after update

Richard B. Pyne rpyne at kinfolk.org
Sun Jul 3 19:03:55 CEST 2011



On 7/1/2011 3:14 PM, Stefan Wold wrote:
>
> On Fri, 2011-07-01 at 13:12 -0600, Richard B. Pyne wrote:
>> I started updating my lunar based server this morning and now cannot log
>> get to being root except from booting in single user mode.
>>
> Check your logs! They should at least give you an indication what is
> wrong. My hunch is that you might have had a modified pam file
> in /etc/pam.d, if that is the case shadow nor Linux-PAM will update that
> file. Does lvu install shadow and lvu install Linux-PAM list any files
> in /etc/pam.d?
>
> If they do, please tell is which ones. If it doesn't that is your issue.
> You need to manually replace the pam.d files or remove them
> from /etc/pam.d and reinstall shadow and Linux-PAM.
>
The first thing do after a new lunar install is to remove Linux-PAM. 
while the /etc/pam.d directory does exist, it is empty.
What I was able to discover is that the /etc/login.defs files was 
missing. Simply creating an empty /etc/login.defs files has cured the 
problem. Something in the update of shadow deleted the file.






More information about the Lunar mailing list