• 0 Posts
  • 7 Comments
Joined 10 months ago
cake
Cake day: January 13th, 2024

help-circle
  • boblintoLinuxsucks@lemmy.worldsudo makes no sense
    link
    fedilink
    English
    arrow-up
    14
    ·
    11 days ago

    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).