this post was submitted on 11 Nov 2024
-34 points (22.6% liked)

Linuxsucks

183 readers
60 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
[–] boblin@sh.itjust.works 14 points 1 week 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@lemmy.world 13 points 1 week ago (1 children)

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