Archive for December, 2011
December 6, 2011 Leave a comment
We’ve all been there, needing to fix something and not having the time, energy, etc to fix it the right way. Sometimes this is the easiest way to avoid a massive rabbit hole. But you know it’s wrong you do it and keep going but part of you dies inside. The 7 Deadly Sysadmin Sins.
- chmod 777
- chmod 4755 $file
- setenforce 0
- echo ” |passwd –stdin root
- service iptables stop
- echo ‘reboot’ > /etc/cron.daily/fix-hanging-db.sh
- curl http://randomwebsite/foo.sh | bash
The last one bugs the crap out of me when good software developers assume this is a valid way to install software (outside of your personal machine).