[SID - Unstable] Authentication failed somehow.

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
strapicarus
Posts: 46
Joined: 2022-07-20 17:55
Has thanked: 6 times
Been thanked: 6 times

[SID - Unstable] Authentication failed somehow.

#1 Post by strapicarus »

Hi.

Today when I turned on the PC, I was unable to log in. After a couple of restarts and retries, I managed to log in with the normal user (sudo capable). I noticed that it worked after: reboot, root fail login, user success login.

But i'm unable to login as root, after login with normal user i try

Code: Select all

$:su -
password:
authentication failure


I have not update the system since 7 days or more, the pc have normaly shutdown or reboot until now.

On the first reboot there is a long wait of about 2 minutes for a job or cups. (usually it take less than 2 seconds to reboot.), after seening cups access_log i found out is printer related, i do not have a printer.

The boot log say all ok from all previous boots to the last.

In the journal i could not see anything since i do not know what to look, but comparing the previous normal login the only diff i could find was the time it took, the CRON/root session and the authentication failure.

Code: Select all

ago 10 23:34:51 DevOps systemd[1]: Startup finished in 4.434s (kernel) + 14.361s (userspace) = 18.796s.
ago 10 23:34:54 DevOps systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
ago 10 23:35:01 DevOps CRON[1133]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 10 23:35:01 DevOps CRON[1134]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
ago 10 23:35:01 DevOps CRON[1133]: pam_unix(cron:session): session closed for user root
ago 10 23:35:08 DevOps lightdm[1132]: gkr-pam: unable to locate daemon control file
ago 10 23:35:08 DevOps lightdm[1132]: gkr-pam: stashed password to try later in open session
ago 10 23:35:08 DevOps lightdm[1132]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
ago 10 23:35:08 DevOps systemd[1]: Stopping session-c1.scope - Session c1 of User lightdm...
ago 10 23:35:08 DevOps lightdm[795]: pam_unix(lightdm-greeter:session): session closed for user lightdm
ago 10 23:35:08 DevOps lightdm[795]: pam_systemd(lightdm-greeter:session): New sd-bus connection (system-bus-pam-systemd-795) opened.
ago 10 23:35:08 DevOps lightdm[795]: pam_unix(lightdm-greeter:session): session closed for user lightdm
ago 10 23:35:08 DevOps lightdm[795]: pam_systemd(lightdm-greeter:session): Failed to release session: Transport endpoint is not connected
ago 10 23:35:08 DevOps systemd[1]: session-c1.scope: Deactivated successfully.
ago 10 23:35:08 DevOps systemd[1]: Stopped session-c1.scope - Session c1 of User lightdm.
ago 10 23:35:08 DevOps lightdm[1132]: pam_unix(lightdm:session): session opened for user strapicarus(uid=1000) by strapicarus(uid=0)


ago 11 06:28:29 DevOps systemd[1]: Startup finished in 4.439s (kernel) + 19.579s (userspace) = 24.019s.
ago 11 06:28:43 DevOps lightdm[1142]: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=strapicarus
ago 11 06:28:45 DevOps systemd-timesyncd[577]: Contacted time server 194.0.5.123:123 (2.debian.pool.ntp.org).
ago 11 06:28:45 DevOps systemd-timesyncd[577]: Initial clock synchronization to Sun 2024-08-11 06:28:45.157520 -04.
ago 11 06:28:46 DevOps systemd[1]: systemd-hostnamed.service: Deactivated successfully.
ago 11 06:28:57 DevOps systemd[1]: Started getty@tty2.service - Getty on tty2.
ago 11 06:29:15 DevOps login[1147]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty2 ruser= rhost=  user=strapicarus
ago 11 06:29:19 DevOps login[1147]: FAILED LOGIN 1 FROM tty2 FOR strapicarus, Authentication failure
ago 11 06:29:51 DevOps login[1147]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty2 ruser= rhost=  user=root
ago 11 06:29:54 DevOps login[1147]: FAILED LOGIN 2 FROM tty2 FOR root, Authentication failure
ago 11 06:30:02 DevOps systemd[1]: Received SIGINT.


ago 11 06:34:05 DevOps systemd[1]: Startup finished in 5.546s (kernel) + 20.561s (userspace) = 26.107s.
ago 11 06:34:15 DevOps lightdm[1130]: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=root
ago 11 06:34:47 DevOps systemd-timesyncd[579]: Contacted time server 200.1.19.16:123 (2.debian.pool.ntp.org).
ago 11 06:34:47 DevOps systemd-timesyncd[579]: Initial clock synchronization to Sun 2024-08-11 06:34:47.236438 -04.
ago 11 06:34:48 DevOps systemd[1]: systemd-hostnamed.service: Deactivated successfully.
ago 11 06:34:57 DevOps lightdm[1148]: gkr-pam: unable to locate daemon control file
ago 11 06:34:57 DevOps lightdm[1148]: gkr-pam: stashed password to try later in open session
ago 11 06:34:57 DevOps lightdm[1148]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
ago 11 06:34:57 DevOps systemd[1]: Stopping session-c1.scope - Session c1 of User lightdm...
ago 11 06:34:57 DevOps lightdm[807]: pam_unix(lightdm-greeter:session): session closed for user lightdm
ago 11 06:34:57 DevOps lightdm[807]: pam_systemd(lightdm-greeter:session): New sd-bus connection (system-bus-pam-systemd-807) opened.
ago 11 06:34:57 DevOps lightdm[807]: pam_unix(lightdm-greeter:session): session closed for user lightdm
ago 11 06:34:57 DevOps lightdm[807]: pam_systemd(lightdm-greeter:session): Failed to release session: Transport endpoint is not connected
ago 11 06:34:57 DevOps systemd[1]: session-c1.scope: Deactivated successfully.
ago 11 06:34:57 DevOps systemd[1]: Stopped session-c1.scope - Session c1 of User lightdm.
ago 11 06:34:57 DevOps lightdm[1148]: pam_unix(lightdm:session): session opened for user strapicarus(uid=1000) by strapicarus(uid=0)
While i am logged in, i can not use root, so, ¿how can i change the root password?, since a normal user may only change the password for their own account, while the superuser may change the password for any account. and I do not know if it will work with sudo or how to do it without making any mistakes.

dlu2021
Posts: 233
Joined: 2021-08-13 19:55
Location: Minnesota
Has thanked: 8 times
Been thanked: 44 times

Re: [SID - Unstable] Authentication failed somehow.

#2 Post by dlu2021 »

Have you confirmed that the password that you're typing is what is actually showing up, to rule out a keyboard hardware issue?

strapicarus
Posts: 46
Joined: 2022-07-20 17:55
Has thanked: 6 times
Been thanked: 6 times

Re: [SID - Unstable] Authentication failed somehow.

#3 Post by strapicarus »

dlu2021 wrote: 2024-08-12 00:51 Have you confirmed that the password that you're typing is what is actually showing up, to rule out a keyboard hardware issue?
Yes, that was the first thing i check.

I changed the password of the normal user and then the root password worked and I logged in as root and changed the root password. so it's "solved", I don't know where to look for this strange situation. The only thing that comes to mind is that the ssd is burning at 78º degrees.

Code: Select all

ago 11 20:45:31 DevOps rtkit-daemon[826]: Supervising 11 threads of 6 processes of 1 users.
ago 11 20:45:34 DevOps xfce4-notifyd[1443]: Theme directory actions/16-Dark of theme Zafiro-Nord-Dark-Black has no size field
ago 11 20:46:51 DevOps passwd[2888]: pam_unix(passwd:chauthtok): password changed for strapicarus
ago 11 20:46:51 DevOps passwd[2888]: gkr-pam: changed password for login keyring
ago 11 20:48:23 DevOps su[3115]: (to root) strapicarus on pts/0
ago 11 20:48:23 DevOps su[3115]: pam_unix(su-l:session): session opened for user root(uid=0) by strapicarus(uid=1000)
ago 11 20:48:23 DevOps su[3115]: pam_systemd(su-l:session): New sd-bus connection (system-bus-pam-systemd-3115) opened.
ago 11 20:48:32 DevOps su[3115]: pam_unix(su-l:session): session closed for user root
ago 11 20:50:15 DevOps su[3154]: (to root) strapicarus on pts/0
ago 11 20:50:15 DevOps su[3154]: pam_unix(su-l:session): session opened for user root(uid=0) by strapicarus(uid=1000)
ago 11 20:50:15 DevOps su[3154]: pam_systemd(su-l:session): New sd-bus connection (system-bus-pam-systemd-3154) opened.
ago 11 20:51:47 DevOps sudo[3176]: pam_unix(sudo:auth): authentication failure; logname=strapicarus uid=1000 euid=0 tty=/dev/pts/1 ruser=strapicarus rhost=  user=strapicarus
ago 11 20:51:58 DevOps sudo[3176]: strapicarus : TTY=pts/1 ; PWD=/home/strapicarus ; USER=root ; COMMAND=/usr/bin/journalctl -S '2024-08-1 20:49:00' -U '2024-08-11 20:51:00'
ago 11 20:51:58 DevOps sudo[3176]: pam_unix(sudo:session): session opened for user root(uid=0) by strapicarus(uid=1000)
ago 11 20:52:00 DevOps sudo[3176]: pam_unix(sudo:session): session closed for user root
ago 11 20:52:07 DevOps dbus-daemon[1181]: [session uid=1000 pid=1181] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.33' (uid=1000 pid=1409 comm="Thunar --daemon")
ago 11 20:52:07 DevOps systemd[1156]: Starting gvfs-metadata.service - Virtual filesystem metadata service...
ago 11 20:52:07 DevOps dbus-daemon[1181]: [session uid=1000 pid=1181] Successfully activated service 'org.gtk.vfs.Metadata'
ago 11 20:52:07 DevOps systemd[1156]: Started gvfs-metadata.service - Virtual filesystem metadata service.
ago 11 20:52:07 DevOps dbus-daemon[1181]: [session uid=1000 pid=1181] Activating via systemd: service name='org.freedesktop.thumbnails.Thumbnailer1' unit='tumblerd.service' requested by ':1.33' (uid=1000 pid=1409 comm="Thunar --daemon")
ago 11 20:52:07 DevOps systemd[1156]: Starting tumblerd.service - Thumbnailing service...
ago 11 20:52:08 DevOps dbus-daemon[1181]: [session uid=1000 pid=1181] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
ago 11 20:52:08 DevOps systemd[1156]: Started tumblerd.service - Thumbnailing service.
ago 11 20:54:24 DevOps sudo[3276]: strapicarus : TTY=pts/1 ; PWD=/home/strapicarus ; USER=root ; COMMAND=/usr/bin/journalctl -S '2024-08-11 20:49:00' -U '2024-08-11 20:51:00'
ago 11 20:54:24 DevOps sudo[3276]: pam_unix(sudo:session): session opened for user root(uid=0) by strapicarus(uid=1000)
ago 11 20:54:24 DevOps sudo[3276]: pam_unix(sudo:session): session closed for user root
ago 11 20:55:01 DevOps CRON[3282]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 11 20:55:01 DevOps CRON[3283]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
ago 11 20:55:01 DevOps CRON[3282]: pam_unix(cron:session): session closed for user root
ago 11 20:55:05 DevOps sudo[3285]: strapicarus : TTY=pts/1 ; PWD=/home/strapicarus ; USER=root ; COMMAND=/usr/bin/journalctl -S '2024-08-11 20:48:00' -U '2024-08-11 20:51:00'
ago 11 20:55:05 DevOps sudo[3285]: pam_unix(sudo:session): session opened for user root(uid=0) by strapicarus(uid=1000)
ago 11 20:55:06 DevOps sudo[3285]: pam_unix(sudo:session): session closed for user root
ago 11 20:55:47 DevOps wpa_supplicant[661]: wlx983f9f181503: CTRL-EVENT-BEACON-LOSS
ago 11 20:57:09 DevOps systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories...
ago 11 20:57:09 DevOps systemd-tmpfiles[3316]: /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring.
ago 11 20:57:09 DevOps systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
ago 11 20:57:09 DevOps systemd[1]: Finished systemd-tmpfiles-clean.service - Cleanup of Temporary Directories.
ago 11 20:57:09 DevOps systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
ago 11 21:01:04 DevOps wpa_supplicant[661]: wlx983f9f181503: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-33 noise=9999 txrate=65000
ago 11 21:05:01 DevOps CRON[3522]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 11 21:05:01 DevOps CRON[3523]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
ago 11 21:05:01 DevOps CRON[3522]: pam_unix(cron:session): session closed for user root
ago 11 21:12:09 DevOps smartd[639]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 78 to 74
ago 11 21:12:09 DevOps smartd[639]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 69 to 71
ago 11 21:12:18 DevOps NetworkManager[660]: <info>  [1723425138.5908] dhcp4 (wlx983f9f181503): state changed new lease, address=192.168.0.32
ago 11 21:12:18 DevOps dbus-daemon[609]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.6' (uid=0 pid=660 comm="/usr/sbin/NetworkManager --no-daemon")
ago 11 21:12:18 DevOps systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
ago 11 21:12:18 DevOps dbus-daemon[609]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
ago 11 21:12:18 DevOps systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
ago 11 21:12:28 DevOps systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
ago 11 21:15:01 DevOps CRON[3689]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 11 21:15:01 DevOps CRON[3690]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
ago 11 21:15:01 DevOps CRON[3689]: pam_unix(cron:session): session closed for user root
ago 11 21:17:01 DevOps CRON[3711]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 11 21:17:01 DevOps CRON[3712]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
ago 11 21:17:01 DevOps CRON[3711]: pam_unix(cron:session): session closed for user root
ago 11 21:23:05 DevOps passwd[3745]: pam_unix(passwd:chauthtok): password changed for root
ago 11 21:23:05 DevOps passwd[3745]: gkr-pam: couldn't update the login keyring password: no old password was entered
ago 11 21:25:01 DevOps CRON[3760]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 11 21:25:01 DevOps CRON[3761]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
ago 11 21:25:01 DevOps CRON[3760]: pam_unix(cron:session): session closed for user root
ago 11 21:25:39 DevOps passwd[3763]: pam_unix(passwd:chauthtok): password changed for root
ago 11 21:25:39 DevOps passwd[3763]: gkr-pam: couldn't update the login keyring password: no old password was entered
ago 11 21:30:01 DevOps CRON[3782]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 11 21:30:01 DevOps CRON[3783]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
ago 11 21:30:01 DevOps CRON[3782]: pam_unix(cron:session): session closed for user root
ago 11 21:31:16 DevOps systemd[1]: Started anacron.service - Run anacron jobs.
ago 11 21:31:16 DevOps anacron[3786]: Anacron 2.3 started on 2024-08-11
ago 11 21:31:16 DevOps anacron[3786]: Normal exit (0 jobs run)
ago 11 21:31:16 DevOps systemd[1]: anacron.service: Deactivated successfully.
ago 11 21:35:01 DevOps CRON[3801]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
ago 11 21:35:01 DevOps CRON[3803]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
ago 11 21:35:01 DevOps CRON[3801]: pam_unix(cron:session): session closed for user root

Post Reply