Hi simonm, would you be able to show me how to do this? I am fairly new to perl and still learning the ropes. I wouldn't worry too much about it being hacked, as each user is responsible for changing their own password after the random one has been assigned, no users have any important data stored, keeping the easy password is 'at their own risk', and there would be no compramise to the main system even if an account was attacked (the important accounts all have 16 character long passwords with symbols).