r/ProgrammerAnimemes • • Mar 09 '20

Sysadmins in a nutshell

Post image
1.2k Upvotes

33 comments sorted by

View all comments

Show parent comment

7

u/backafterdeleting Mar 10 '20

Seems pretty insecure to store your passwords unencrypted in the script file.

You could avoid that by setting apt-get as NOPASSWD in your sudoers file.

1

u/[deleted] Mar 10 '20

Didn’t know that. Thanks! I use FDE so I’m not super worried about my password being stored, but I might as well fix that if it’s that easy.