this post was submitted on 11 Nov 2024
-32 points (23.3% liked)

Linuxsucks

170 readers
349 users here now

Shit on Desktop Linux and its evangelists here

No evangelizing for Linux

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

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