Arch Linux sudo:pam authentication error:module is unknown [solved!]

Source: Internet
Author: User
Tags arch linux

Problem Description:  

My arch Linux has been used for more than half a year, because of the rolling problems of Arch Linux, I have never directly upgraded the system. Software versions and libraries are naturally lagging behind.

When I was ready to use NFS, the network file system was mounted because the LIBRPC was too old to fail. So I guess I'll have to update librpc. Look at the version on the source with Yaourt-ss.

The latest NFS needs libtirpc.so.3 and mine is libtirpc.so.1. Finally, after installing the libtirpc-1.0.1-2. The tragedy happened. Any use of sudo, and Su's place, the following error occurs:

sudo: PAM authentication error:module is unknown

I realized that I would not be able to boot once I restarted it. It was already late, I thought to sleep. Do it again tomorrow, not the computer first.

As a result, the next day found that the screen is locked, and suddenly understand what. Sure enough, the authentication failed. I can't go in there! It's tragic.

Workaround:

I refer to other people's discussions on https://bbs.archlinux.org/viewtopic.php?pid=1578812. The discovery of others is the result of updating the system, although the LIBTIRPC version is reduced, but the other dependencies did not fall down. Of course he was a failure.

But I'm not the same, I just updated libtirpc, and then I found that I didn't install any dependencies. So I think I just have to drop back the original LIBTIRPC version. can solve the problem.

Specific practices:

Restart, enter the Grub boot interface and press E to edit the kernel boot parameters. , at the end of the Linux line, add single to start the power mode in the same user identity:

Then press Ctrl + x to start. After startup, request to enter the root password to log in. You will be able to log in at this time (not yet).

Once logged in, a Shell is available, and it is the root account.

# cd/var/cache/pacman/pkg#ls-L |grepRPC Librpcsecgss-0.19-8-x86_64.pkg.Tar. Xzlibtirpc-0.3.2-2-x86_64.pkg.Tar. Xzlibtirpc-1.0.1-2-x86_64.pkg.Tar. Xzrpcbind-0.2.3-3-x86_64.pkg.Tar. XZ

Obviously libtirpc-0.3.2 was the right version for me. (because you know that Arch Linux has been rolled, you haven't cleaned up Pacman installed packages, and if you clean up, you'll have to pay for your original version of the package.) )

# pacman-u libtirpc-0.3. 2-2-x86_64.pkg.tar. XZ

After a successful installation, the problem is solved by rebooting the system. As for NFS, it seems that I have to think about how to solve it.

Original article, welcome any kind of reprint, but please specify the source!

Arch Linux sudo:pam authentication error:module is unknown [solved!]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.