I think it would be interesting to have a list of bad habits you observe related to system administration. For example:
- Always using
root
on servers - Sharing account passwords
- Inserting passwords on code
- Still using telnet
- ...
Although I'm mostly interested on security, you bad habit doesn't have to be security related. Bad habits stories are also welcomed.
I think most of the bad behaviours of sysadmins is due to the fact that they forget the golden rule:
I have beaten this lesson into plenty of new recruits by now, but many new in the field doesn't quite understand how important it is. From this simple rule comes the philosphy when working as a sysadmin:
And from here you can trace the typical bad behaviours of unskilled sysadmins
I think XKCD summed it up pretty well
Is it a bad habit to give in to user requests (demands?) that lower security for the sake of their own convenience?
Writing a script that isn't well documented or written in an easy to read style so that the people that come after you can easily read and modify the script.
Perl scripters I'm looking at YOU!
"I'll document this later" No, you won't.
Of course, some preempt that situation thusly: "Documentation?"
I have a bad habit of getting frustrated enough at the security "fixes" in Windows that I'll blindly add sites to a trusted site list or lower security enough that IE8/XP/Vista/etc. stops pestering me while I'm trying to get something done and I'm fairly sure I'm going to the right place and downloading the right file. I know it's supposed to make you more secure to rethink your actions, but quite frankly, click click click click makes me nuts nuts nuts and eventually the warnings all blur together until I don't pay attention to site certificate errors (it's our own self-signed, right?...well, probably...) and other times it's asking me stupid things that should have been enabled by default (yes, I really did mean to go to Windows Update, and I do want security settings to allow Microsoft's own update site to run, thank you...)
A no-update policy because "it works, so why should we touch it?".
And then Slammer slams you in the head...
Applying vendor updates the instant they become available. Wait a few hours and google the patch's name to avoid being the one submitting the horror stories.
Saying "WHAT!?" whenever a user nears your desk.
Using the same password on multiple systems or applications (a la Apache Foundation).
Meaningless work log entries. ie:
$ rm *
Great, you deleted something, somewhere, as some user, on some system. I have the same alert, and I'd like to know how you fixed it last time.
Here is a prompt which solves most of those issues automatically.
PS1="\h \d \t \w\n\u > "
myserver Mon Apr 26 16:20:44 /var/log
root >
Hostname changed :-) Now I know everything except what you deleted, but at least I know where to look.