FG

How do I make sudo ask for the root password?

Fresh3 days ago
Mar 15, 202687260 views
Confidence Score0%
0%

Problem

When I run 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 ask for the root password instead of the invoking user's passwor…

Error Output

sudo

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I make sudo ask for the root password?

Low Risk

Ok, here it is again so you can set the checkmark. In , add this line: to turn on the rootpw flag, making sudo ask for the root password.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment