You are not logged in.

#1 2014-03-15 09:23:36

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

[SOLVED] Annoying problem with sudo

I tried googling this, but finding the correct search has eluded me.

Suddenly, sudo requires me to enter my password correctly three times (i.e. If I type correctly, I'm asked three times, if I get it wrong on the first go, it's four times and so on). This has only started in the past week.

Any ideas how to fix it?

TIA

Last edited by Roken (2014-03-17 19:07:11)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#2 2014-03-15 11:42:21

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Annoying problem with sudo

Check the /etc/sudoers file. And if you find something weird, edit it using visudo. Also posting content of that file sould be useful for others trying to help.

Offline

#3 2014-03-15 12:36:47

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: [SOLVED] Annoying problem with sudo

even something like:

sudo -l
(that is dash ell)

I would guess it's trying to execute three things and you don't have the password cache thing on

Offline

#4 2014-03-15 13:02:44

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Annoying problem with sudo

Are you actually running sudo? What is the output of "which sudo"?

What command are you running with sudo? Some programs, like some AUR wrappers, will call sudo themselves.

Please post your "/etc/sudoers" file.

Offline

#5 2014-03-17 19:06:44

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: [SOLVED] Annoying problem with sudo

In fact, sudoers was the problem. I have no idea how (since I haven't touched it lately) but the timeout had got itself set to 363636363636363636363636363636363636363636363636363636363, which I'm guessing resolved to an immediate timeout.

Reset and all is good again smile

Thanks all


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

Board footer

Powered by FluxBB