| View previous topic :: View next topic |
| Author |
Message |
LukynZ Apprentice


Joined: 19 Dec 2008 Posts: 200 Location: The Czech Republic
|
Posted: Thu Apr 19, 2012 8:59 pm Post subject: Pambase is missing some files |
|
|
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 |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Thu Apr 19, 2012 9:13 pm Post subject: |
|
|
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
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
LukynZ Apprentice


Joined: 19 Dec 2008 Posts: 200 Location: The Czech Republic
|
Posted: Fri Apr 20, 2012 5:37 am Post subject: |
|
|
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 |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 4117 Location: Houston, Republic of Texas
|
Posted: Fri Apr 20, 2012 5:40 am Post subject: |
|
|
i doubt this will work - highly doubt actually, but
????
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 |
|
 |
LukynZ Apprentice


Joined: 19 Dec 2008 Posts: 200 Location: The Czech Republic
|
Posted: Fri Apr 20, 2012 5:45 am Post subject: |
|
|
I tried this too...no success  |
|
| Back to top |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 4117 Location: Houston, Republic of Texas
|
Posted: Fri Apr 20, 2012 5:49 am Post subject: |
|
|
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 |
|
 |
LukynZ Apprentice


Joined: 19 Dec 2008 Posts: 200 Location: The Czech Republic
|
Posted: Fri Apr 20, 2012 6:38 am Post subject: |
|
|
That will be a little problem for me as I have timeout 0 in grub config  |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Fri Apr 20, 2012 1:23 pm Post subject: |
|
|
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  _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
painteru Tux's lil' helper


Joined: 23 Aug 2007 Posts: 75
|
Posted: Fri Apr 20, 2012 10:21 pm Post subject: |
|
|
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 |
|
 |
LukynZ Apprentice


Joined: 19 Dec 2008 Posts: 200 Location: The Czech Republic
|
Posted: Sat Apr 21, 2012 5:46 am Post subject: |
|
|
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 |
|
 |
|