Quantcast
Channel: How do I make sudo ask for the root password? - Super User
Viewing all articles
Browse latest Browse all 7

How do I make sudo ask for the root password?

$
0
0

When I run sudo as a normal unprivileged user, it asks for my password, not the root password. That's often convenient, but it reduces the amount of information someone would have to have in order to run commands as root. So how can I make sudo ask for the root password instead of the invoking user's password?

I know it'd be done with a line in /etc/sudoers, but I can never seem to properly parse the BNF grammar in the man page to figure out exactly what to write.


Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images