Ringing the (password) changes

I have milestones in my working life, I mark time by them. They help me to think quantitively about how much time has passed since a particular point in time or event. Its helpful because it enables me to think clearly about whether a colleague would have been involved in a particular activity at that particular time. And the nature of the milestone? Password changes!

I am pretty consciencious about passwords. I always have different ones for different things, with uppercase, numbers, punctuation and sometimes uppercase. As a sufferer of DOuble-CApital-itis, I am not a big fan of uppercase but I make the effort sometimes. Of course there are exceptions, such as the one password I use for all random website registrations, but I’m in good company with that. Because of these password habits, changing a password that I use every day is a big event! I have to think of something that my brain can hold on to, and train myself to type the new one rather than the old. I sometimes change existing passwords for no reason, I just think its good practice. What I really hate is being forced to use a password I don’t want, or change it when I am not ready!

I have recently changed employment, no particular reason just the next step on the ladder really. At my old workplace, I typed my password every single time I opened an internet browser, or logged onto another machine. I can’t deal with too many windows on the taskbar so I was opening and closing browsers all day. I must have typed it fifty times most days. The password complexity rules were there, but they didn’t really get in my way. I was forced by the system to change my password every three months. Three months is quite short when you are subconsciously typing that same password in so often! Still, the password change would roll around, marking a change in season, and I’d spend three days swearing at having typed in the wrong password on autopilot. When my password expired with a week of my notice still left to work, my boss (I guess tired of all that swearing) extended the expiry period to save me the pain.

So here I am, bright and enthusiastic in my new job. Day one, I have to choose a new password. No problem. Four weeks later, I get prompted to change my password. OK, well that’s a pain because I find password changes difficult but hey, I’m new, and I’ll just grin and bear it – after all, I don’t have to type my password for the web proxy here, just when I log in or unlock my machine. That’s still quite a few times though as I don’t leave my desk to go anywhere without locking it. So …. you can guess what’s coming next. Eight weeks into the new job and the password change box is back. My mind is too full to manage another “good” password so I try out something insecure – all lower case characters. And it accepts.

There’s something about this “security” which bothers me immensely. Most password setup systems come with tickboxes, to turn on “features”, such as

  • require mixed case
  • require at least one number
  • require some punctuation
  • ban password recycling
  • ban similar passwords
  • force password change

The sysadmin starts to read the list, tick the top few boxes, decides this is a Good Thing and ticks them all – the system is as secure as possible – Right???

This is how security myths start, and “force password change” is not something where (more often == better). A few months from now, I’m going to be a gibbering wreck, with my plain text password post-it-ed onto my monitor, and not locking the console when I walk away.

putty function keys in AIX

I’m having fun and games with AIX! I have two telnet clients, putty (fantastic client) and KEA!. I’ve been using KEA! successfully but would like to switch to putty, however the function keys didn’t result in the same escape characters being sent as in KEA!.

After a post to google groups and a very helpful link I finally started to make some progress. I only need keys F1 to F20 working and I’m there.

What I had to do was set putty’s setting under Terminal -> Keyboard -> The function keys and keypad to “Xterm R6”. This doesn’t exactly match what KEA! output but its close. The big difference is that with KEA I use ctrl with F1 to F10 to access the keys F11 to F20; on putty this is shift instead of ctrl.

In case it is any help to anyone, here are the outputs of F1 to F12 on the first line, shift and F1 to F12 on the second line, and ctrl and F1 to F12 on the third line, for both putty and KEA!.

putty:



<sup>[OP</sup>[OQ^[OR^[OS^[[15~^[[17~^[[18~^[[19~^[[20~^[[21~^[[23~^[[24~
<sup>[[23~</sup>[[24~^[[25~^[[26~^[[28~^[[29~^[[31~^[[32~^[[33~^[[34~^[[23~^[[24~
<sup>[OP</sup>[OQ^[OR^[OS^[[15~^[[17~^[[18~^[[19~^[[20~^[[21~^[[23~^[[24~

and KEA!:



<sup>[OP</sup>[OQ^[OR^[OS^[[17~^[[18~^[[19~^[[20~^[[21~^[[23~^[[24~
l
<sup>[[23~</sup>[[24~^[[25~^[[26~^[[28~^[[29~^[[31~^[[32~^[[33~^[[34~^[[23~^[[24~

NB F5 is missing from the KEA! one since pressing it while running cat caused cat to coredump!!

Anyway that was today’s crash course in escape chars, my putty is now working well and I can use it for the apps which use the function keys too, which is good news.

my first shell script

I have a new job, which involves working on an AIX box over SSH. It the first time I’ve used command line to do everything I do in a day and its an education – especially as I’m new to korn shell.

Today I wrote my first shell script, it sets the title of my putty window so I don’t get confused which window is which. Here it is:


echo "\033]0;$PWD\007";
if test -n $1
then
        echo "\033]0;$1\007";
fi

ruby quiz

I was looking around the web today and came across this:

http://www.rubyquiz.com/

You sign up to the mailing list and they send you a little exercise to do each week – what a great idea! You can only really get to grips with a programming language of any kind if you have a need to create something or have a project of some kind.

The Search

The search for the home page tool …. Has taken me to a number of places. These are they, in order.

  • Dokuwiki
  • PHPWiki
  • phpWebThings
  • TextPattern (ahhh)

DokuWiki

DokuWiki

I love DokuWiki! We had a requirement at my place of work for a way to manage documents, to replace our existing system of putting everything on shared folders in Microsoft Outlook. I looked into a couple of document management apps but came to the conclusion that what I actually needed was a wiki, for the App Support Team to manage its knowledge and keep updating it easily.

DokuWiki is easy. Its easy to set up, and it has no special requirements. It doesn’t even use a database. This could be seen as a disadvantage but since I was installing it in an environment where it is Microsoft SQL Server or nothing, nothing seemed like a good choice. We set up some access control and branded it to match our corporate identity. Its been embraced by everyone and is a great success.

So why aren’t I using it on this site? Mostly because this site is content-controlled by only me, so I don’t actually want a wiki … I did try it out on here, but really it didn’t work as a way to solve this problem.

PHPWiki

PHPWiki

PHPWiki should have been the answer. Its widely used and loved, and has a database backend, which seems ideal for this kind of site and since I’m hosting on my own servers I can choose what I like. To cut a long story short, it was kind of complicated to set up, possibly I was being ditsy but I don’t usually have problems setting things up. Once it was installed I just didn’t bond with it at all, so that is the end of that!

phpWebThings

phpWebThings

This was a step in the right direction, and a more straightforward installation. It also comes with a cute pink theme which helped its ratings enormously (I know, little things, little minds, etc). I started entering content into it but still hadn’t really made any sense of the admin tools …. when I was still looking for a replacement a week later, I knew that I still hadn’t quite put my finger on it.

TextPattern

TextPattern

A recommendation from a friend (dotjay) and so far, so good!