Image

Image6ferrets wrote in Imagelinux

Getting sudo to demand a password?

sudo is not asking me for a password at all. I thought it was supposed to do this by default, but even adding “authenticate” to the sudoers file has no effect. In fact, there is not even a
/var/run/sudo directory on my machine.

My sudoers file (included below) is very simple, and I don't know where else to look. Am I missing another configuration file somewhere?

Defaults env_reset, authenticate

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL
myname ALL=(ALL) ALL




UPDATE: Thanks, everyone! The issue was that Debian has a special "sudo" group, which disables the password requirement for its members. Where this is configured is something I haven't figured out yet.