Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pambase is missing some files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 200
Location: The Czech Republic

PostPosted: Thu Apr 19, 2012 8:59 pm    Post subject: Pambase is missing some files Reply with quote

I don't know how, but after todays update I have this problem:

Code:
lukas@lukyn ~ $ equery k pambase
* Checking sys-auth/pambase-20120417 ...
!!! /etc/pam.d/login does not exist
!!! /etc/pam.d/passwd does not exist
!!! /etc/pam.d/su does not exist
   8 out of 11 files passed


At this moment I am unable to login throught console. I am able to login to KDE, su command fails too.

As I am unable to log as root, I can't reemerge this package, I can't use files from backup. I can't boot from CD at this moment and I have no flash drive now.

I am doomed as far as I can say :) or has anybody any idea?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Thu Apr 19, 2012 9:13 pm    Post subject: Reply with quote

LukynZ,

Did you update the config files (._cfg) in /etc/pam.d :?:

If I remember correctly, there were three files that required updating - su and login sound familiar

Good luck.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 200
Location: The Czech Republic

PostPosted: Fri Apr 20, 2012 5:37 am    Post subject: Reply with quote

Ok, there are new configs I didn't merge. However it shouldn't delete old at all. But without root I can't merge them

Last edited by LukynZ on Fri Apr 20, 2012 5:46 am; edited 1 time in total
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Fri Apr 20, 2012 5:40 am    Post subject: Reply with quote

i doubt this will work - highly doubt actually, but

Code:

kdesu konsole


????
profit

stab in the dark. kdesu might depend on those other things not being broken
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 200
Location: The Czech Republic

PostPosted: Fri Apr 20, 2012 5:45 am    Post subject: Reply with quote

I tried this too...no success :(
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Fri Apr 20, 2012 5:49 am    Post subject: Reply with quote

id say without the ability to reboot from a cd/usb right now you're fairly stuck
can you reboot at all? If so, reboot to single user mode, make the requisite changes, reboot
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 200
Location: The Czech Republic

PostPosted: Fri Apr 20, 2012 6:38 am    Post subject: Reply with quote

That will be a little problem for me as I have timeout 0 in grub config :)
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Fri Apr 20, 2012 1:23 pm    Post subject: Reply with quote

LukynZ,

Quote:
Ok, there are new configs I didn't merge. However it shouldn't delete old at all.


Unfortunately, they're new files :(

One option to pursue is to install the hd in a machine that can boot a live cd, has linux installed, or connect it via a usb dongle.

Another option is ssh logon from another machine if you have ssh enabled on that machine.

Good luck :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
painteru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2007
Posts: 75

PostPosted: Fri Apr 20, 2012 10:21 pm    Post subject: Reply with quote

had the same problem after update . It was pambase and shadow.
I had to re-emerge pam and now #su- works .
Well, to be sure, I re-emerged pambase & shadow, too before pam .
Oh, but wait ! you can't log in as root.
Well, press i at boot time and don't allow to start the xdm service so that X wont start. (I hope you had set this option in your kernel )
If you haven't the option of "press i" you can always use a livecd and then chroot.
_________________
My art at www.danielchiriac.com
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 200
Location: The Czech Republic

PostPosted: Sat Apr 21, 2012 5:46 am    Post subject: Reply with quote

Thanks for tips. Finally fixed by usb boot :)

However I am still wondering how did this happen. Normally updated confings can't be deleted before merging new ones.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum