You are not logged in.
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/backupas root which resulted the missing files in permission problems.
when i did
suand entered my password, i got
su: Authentication service cannot retrieve authentication infothen out of curiousity i did
sudoand got
sudo: /usr/bin/sudo must be owned by uid 0 and have setuid bit setthis 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
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/nullto 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
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/nullto 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