this post was submitted on 11 Nov 2024
-44 points (20.3% liked)

Linuxsucks

236 readers
3 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 (that is LINUXSUCKS!).
  3. No Complaining Mute the sub if users, content, or rules bother you *it's ok to report rule violations

founded 3 months ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 2 months 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 2 months ago (1 children)

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