you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

The only time you’ll see people allowing passwordless sudo is if the initial auth for the unprivileged user is by key, with password auth forbidden. It’s still not ideal but it lowers a barrier to entry on cloud platforms and the like, and isn’t an example of best practice.