You are not logged in.

#1 2023-09-13 16:30:17

trujillo-gc
Member
Registered: 2022-02-20
Posts: 30

[SOLVED] root password rejected

Hi to all,

Do you have any idea why sometimes I have to enter the root password many times until it accepts it.
This is the message that appears every time the password have been rejected.

Arch Linux 5.15.90-1.0-Its (tty1)
arch login: root
Password:
Last login: Wed Sep 13 15:07:27 on tty1 free©): invalid pointer

Regards
Alberto

Last edited by trujillo-gc (2023-09-14 10:50:41)

Offline

#2 2023-09-14 07:03:18

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,033
Website

Re: [SOLVED] root password rejected

This is an issue with systemd_pam (memory corruption), you can disable it by commenting out systemd occurences in /etc/pam.d/*
(I guess this was a similar issue https://bbs.archlinux32.org/viewtopic.php?id=3354)

more precicesly:

grep systemd /etc/pam.d/*
/etc/pam.d/system-auth:-auth      [success=2 default=ignore]  pam_systemd_home.so
/etc/pam.d/system-auth:-account   [success=1 default=ignore]  pam_systemd_home.so
/etc/pam.d/system-auth:-password  [success=1 default=ignore]  pam_systemd_home.so
/etc/pam.d/system-auth:-session   optional                    pam_systemd_home.so
/etc/pam.d/systemd-user:# Used by systemd --user instances.
/etc/pam.d/system-login:-session   optional   pam_systemd.so

The '-' in front makes the execution of the corresponding pam filter non-fatal if it fails, but
at least it should work and not segfault. Make sure you comment out _ALL_ instances.
Note also, this might break modern things and render them non-working..

Offline

#3 2023-09-14 10:49:23

trujillo-gc
Member
Registered: 2022-02-20
Posts: 30

Re: [SOLVED] root password rejected

Thank you very much Abaumann,
It's a small detail, but it's annoying to see that something isn't working as it should.
I appreciate your help. I mark my question as solved.
Regards, Alberto

Offline

Board footer

Powered by FluxBB