this post was submitted on 11 Nov 2024
-36 points (21.9% liked)

Linuxsucks

206 readers
31 users here now

Rules:

  1. FOSS advocates and Linux evangelists aren't welcome. -We ask that you block us.
  2. Moderation is heavy handed. Try to stay on topic.
  3. No Complaining Mute the sub if users, content, or rules bother you

founded 2 months ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 1 month ago (2 children)

The prompt for your password is to prevent someone that happens upon your unlocked computer to take it over. Also I think knowing which commands can be run as superuser by a given user is considered a security issue, hiding that info behind a password prompt should at least help.

You can turn just turn the prompt off by adding NOPASSWD to your account in the sudoers file(s).

[–] superfes 13 points 1 month ago (1 children)

Pro-tip: Don't turn off the password requirement.