View previous topic :: View next topic |
Author |
Message |
occamsys n00b
Joined: 04 Jul 2005 Posts: 4
|
Posted: Mon Jul 04, 2005 4:50 pm Post subject: [SOLVED] sudo stops working after emerge world |
|
|
Hi!
This is what I did:
After it completed, I found that sudo no longer works. When I run sudo, I get:
Code: | sudo: pam_authenticate: Module is unknown |
It worked before the emerge. I looked at the emerge log, and saw these:
Code: | >>> emerge (86 of 93) app-admin/sudo-1.6.8_p9 to /
...
=== Unmerging... (app-admin/sudo-1.6.7_p5-r2)
>>> unmerge success...
::: completed emerge (86 of 93) app-admin/sudo-1.6.8_p9 to / |
So it looked like the upgrade is successful. What can I do to fix this apparent broken dependency?
Thanks.
Albert
Last edited by occamsys on Tue Jul 05, 2005 11:05 am; edited 1 time in total |
|
Back to top |
|
|
fatboyjim Apprentice
Joined: 12 Jul 2004 Posts: 227 Location: UK
|
Posted: Mon Jul 04, 2005 6:05 pm Post subject: |
|
|
revdep-rebuild ? _________________ -----------------------
fatboyjim
Gentoo/AMD64 Arch Tester (Inactive) |
|
Back to top |
|
|
occamsys n00b
Joined: 04 Jul 2005 Posts: 4
|
Posted: Mon Jul 04, 2005 6:21 pm Post subject: |
|
|
Just tried revdep-rebuild. It says my system is consistent
Thanks anyway. I learned something new |
|
Back to top |
|
|
occamsys n00b
Joined: 04 Jul 2005 Posts: 4
|
Posted: Tue Jul 05, 2005 4:23 am Post subject: |
|
|
Problem solved. Thanks for reading. |
|
Back to top |
|
|
fatboyjim Apprentice
Joined: 12 Jul 2004 Posts: 227 Location: UK
|
Posted: Tue Jul 05, 2005 9:21 am Post subject: |
|
|
Couple of things left for you to do
1) Tell us how you solved it, that way anyone with the same problem could search the forum and look here for an answer
2) Add [SOLVED] to the title of your first post so nobody wastes their time coming in here to help you when you've already solved it, and so that people know they can look here for the answer
Cheers
Jim _________________ -----------------------
fatboyjim
Gentoo/AMD64 Arch Tester (Inactive) |
|
Back to top |
|
|
occamsys n00b
Joined: 04 Jul 2005 Posts: 4
|
Posted: Tue Jul 05, 2005 11:02 am Post subject: |
|
|
Quote: | 1) Tell us how you solved it, that way anyone with the same problem could search the forum and look here for an answer
|
Sure! I'm kind of embarrassed because it was a stupid mistake on my part. After emerge world, I inadvertantly let /etc/sudoers file overwritten. That's why the user was no longer a sudoer. But the situation was not helped at all by the stupid error message from sudo, which said "Module is unknown" and thus threw me wildly off course.
Quote: | 2) Add [SOLVED] to the title of your first post so nobody wastes their time coming in here to help you when you've already solved it, and so that people know they can look here for the answer |
Done. This is my virgin post here
Albert |
|
Back to top |
|
|
Snyke n00b
Joined: 01 Nov 2006 Posts: 37
|
Posted: Sat Jan 13, 2007 5:36 pm Post subject: Incomplete update -> Can't log in as root |
|
|
Hi all,
I known how utterly stupid this is, and I apologize. Yesterday I wanted to do an update on my server but halfway through it I stopped it (Ctrl-C) and went to bed. This morning I wanted to get back on to finish the update but ssh just told me that I could not log on (it connected all right but I was thrown off the system before doing anything) and when trying without the private-key log in it told me that I could not log in with password authentication.
Right now I'm sitting in front of the box, have connected to it with a screen and a keyboard, but when trying to log in with su it just tells me
Code: | configuration error - unknown item 'GETPASS_ASTERISKS' (notify administrator) |
I can log in as normal user, but sudo doens't let me in either:
Code: | # sudo bash
sudo: pam_authenticate: Module is unknown |
Any idea how I can fix it? |
|
Back to top |
|
|
SickBoy n00b
Joined: 25 Aug 2003 Posts: 67 Location: mpls, mn
|
Posted: Mon Jan 15, 2007 5:08 pm Post subject: |
|
|
Fire it up with knoppix, chroot and fix it...
I had a similar issue and just emerged sudo with USE="-pam" or the like _________________ Audioslave--Asus K8V SE Deluxe--Athlon64 3200+--2 GB PC3200 - 6600GT
Soundgarden--MSI K8MM-V--Sempron64 2600+--1.5 GB PC3200 - FX5200
Alice-- Dell Poweredge 2300 - haven't powered it up in probably 2 years.
Macbook Pro 15" (no Gentoo) |
|
Back to top |
|
|
|