You are not logged in.

#1 2020-10-03 20:03:15

ArchNewbieKernel
Banned
Registered: 2020-09-25
Posts: 74

[SOLVED]Arch authentication info problem after restoring

i reinstalled Arch and cp the whole ArchBackup from backup device BUT some files in /etc & /var branch are missing, because i didnt run

rsync -aAXHv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup

as root which resulted the missing files in permission problems.


when i did

su

and entered my password, i got

 su: Authentication service cannot retrieve authentication info

then out of curiousity i did

sudo

and got

sudo: /usr/bin/sudo must be owned by uid 0 and have setuid bit set

this happens in my Plasma DE and also in my tty, no difference there.

i CAN login and use my Arch aslong i dont use the sudo command in terminal, which makes my current Arch semi-usable.

I also noticed once i do the shortcut for Lock-screen which is META+L i cant unlock it anymore, since it would say my pw is wrong, so in order to login, i have to avoid META+L or restart the device but i'm sure it has to do with the authetication info error which is the reason for this thread.

changing my user & root password doesnt make a difference either.

Last edited by ArchNewbieKernel (2020-10-10 18:52:27)

Offline

#2 2020-10-03 20:49:37

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,645
Website

Re: [SOLVED]Arch authentication info problem after restoring

For that specific error, su to root (or just log in as root in a TTY) and change the ownership (chown) and apply the sticky bit (chmod 4755) on the sudo binary.

Check the output of

pacman -Qkk >/dev/null

to see if there are any other possible problems.

Mod note: Moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-10-10 19:01:35

ArchNewbieKernel
Banned
Registered: 2020-09-25
Posts: 74

Re: [SOLVED]Arch authentication info problem after restoring

WorMzy wrote:

For that specific error, su to root (or just log in as root in a TTY) and change the ownership (chown) and apply the sticky bit (chmod 4755) on the sudo binary.

Check the output of

pacman -Qkk >/dev/null

to see if there are any other possible problems.

Mod note: Moving to NC.

i'm sorry, that i havent visited the website again, after i created the thread. I got it solved before you replied to it but your answer was also right, thanks!

Last edited by ArchNewbieKernel (2020-10-10 19:05:09)

Offline

Board footer

Powered by FluxBB