The officially official Devuan Forum!

You are not logged in.

#1 2024-08-09 12:55:29

Carolina In My Mind
Member
Registered: 2023-01-10
Posts: 18  

[SOLVED] I added myself to sudoers, so why do I still have to enter my password

The relevant part of my sudoers file says:

# User privilege specification
root    ALL=(ALL:ALL) ALL
josh    ALL=(ALL:ALL) ALL

So, why am I still being asked for my user password to sudo? I thought adding that line would make it unnecessary.

I do not know whether this is a Devuan issue or it could happen in any distro.

By the way, does this forum not allow punctuation marks or other special characters in the subject line? The reason mine lacks a question mark is only because it won't let me type one there.

Last edited by Carolina In My Mind (2024-08-09 12:57:05)

Offline

#2 2024-08-09 13:59:04

steve_v
Member
Registered: 2018-01-11
Posts: 374  

Re: [SOLVED] I added myself to sudoers, so why do I still have to enter my password

man sudoers wrote:

     PASSWD and NOPASSWD

       By default, sudo requires that a user authenticate before running a command.  This behavior can be modified via the NOPASSWD tag.


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

Board footer