You are not logged in.

#1 2024-11-06 14:12:17

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,658

[Solved] Messed up sudo

I updated my sudoers file via visudo but, error in my part, I got mixed up between the sudoers and sudoers.pacnew files, then deleted sudoers.pacnew in the process.
I can login and issue sudo in the terminal but if I open a terminal in dolphin and issue sudo from there, my password is not recognized. I also noticed a lock icon when I view system in dolphin. What's more once my password is rejected in dolphin then go back to normal terminal, then my sudo stops working there as well. I have to reboot to get the sudo back.

Anyway I can recover sudo in dolphin terminal? Running KDE Wayland and vanilla kernel.

Last edited by d_fajardo (2024-11-06 22:07:03)

Offline

#2 2024-11-06 14:31:06

seth
Member
Registered: 2012-09-03
Posts: 60,896

Online

#3 2024-11-06 21:45:47

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,658

Re: [Solved] Messed up sudo

Thanks Seth. Resetting the faillock does it.

Offline

#4 2024-11-06 21:54:08

seth
Member
Registered: 2012-09-03
Posts: 60,896

Re: [Solved] Messed up sudo

You'll probably have to figure what triggers it itfp.
* Fat-finger
* wrong keyboard layout
* background sudo (eg. in a cronjob or startup script or so)
* other stuff

Online

#5 2024-11-06 22:08:59

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,658

Re: [Solved] Messed up sudo

You'll probably have to figure what triggers it itfp.

Yes the problem did come back. I think it's my conky script causing it as I have some sudo commands there to monitor system temp. Thanks for the tip.

Offline

Board footer

Powered by FluxBB