FG

localhost in sudoers

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

Problem

There is no chance of an internal attack, so I would like to give sudo privileges to users at the local computer using sudoers. I tried these lines separately: But sudoers does not seem recognize either or . Is there an alternative, and if so, how secure would it be? Could a remote attacker gain lo…

Error Output

%admin localhost=(ALL) NOPASSWD: ALL
%admin 127.0.0.1=(ALL) NOPASSWD: ALL

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: localhost in sudoers

Low Risk

The host list restricts the sudo rule to hosts on which one network interface has a name or address in the list. Since every host has a loopback interface, every host should match your rule; in fact, sudo skips the loopback interface when checking h…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment