MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/ffy0lu/sysadmins_in_a_nutshell/fk3byxw/
r/ProgrammerAnimemes • u/frostedKIVI • Mar 09 '20
33 comments sorted by
View all comments
Show parent comment
7
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.
1
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.
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.