You are not logged in.
Pages: 1
I have had this problem more times. Sometimes, randomly, the sudo password doesn't work, but i don't know why. What I do to solve for a moment it's restart the PC. I don't know why this happens. If anyone could help me I would appreciate it. Thanks
Last edited by lucenabo (2023-11-28 14:34:52)
Offline
maybe faillock - several failed attempts cause using password to be blocked (I think failing also include sudo timeout)
Offline
Log in as root and try to reinstall pambase and see if the issue persists.
pacman -S pambaseFan of Giorgio Moroder & Mohammad Ammax enemy
Offline
Log in as root and try to reinstall pambase and see if the issue persists.
pacman -S pambase
What are you trying to accomplish with this?
Online
Keyboard layout? Shift lock? What happens if you change consoles and log into a terminal?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Keyboard layout? Shift lock?
The layout is spanish and when I failed the password twice I always type very slow and looking if a type the wrong key.
What happens if you change consoles and log into a terminal?
I switch to tty and there I can log in my user but not in root
Offline
maybe faillock - several failed attempts cause using password to be blocked (I think failing also include sudo timeout)
I have restarted this, IIhope it doesn't give me more errors
Offline
Log in as root and try to reinstall pambase and see if the issue persists.
pacman -S pambase
This happens to me randomly, I have reinstalled in case this can solve it
Offline
ewaller wrote:What happens if you change consoles and log into a terminal?
I switch to tty and there I can log in my user but not in root
Now that is interesting. I only use a US layout; does anyone who uses different layouts know if one needs to change the layout for root?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
The console keyboard layout is set in /etc/vconsole.conf and applies to all users, including root.
Jin, Jîyan, Azadî
Offline
sudo passwd -S rootthe sudo password doesn't work, but i don't know why.
Neither do we.
What's the actual error message?
Do you authenticate as your regular user or root?
astralc wrote:maybe faillock - several failed attempts cause using password to be blocked (I think failing also include sudo timeout)
I have restarted this, IIhope it doesn't give me more errors
So faillock was in place and resetting it fixed the problem?
Something triggers faillock - either you, fat-fingering passwords, or some script/cron-job that runs sudo and times out on the password because there's no interface and nothing provides it.
sudo gets audited, so check your system journal itr.
Online
Pages: 1