Most security issues arise when we don't protect our passwords. Saving our passwords or not logging off shared resources, leaving our computers unlocked or phishing attacks. These can range from the accidental or opportune to sophisticated attempts to get us to provide information. Many meail providers now take signficant steps to ensure that emails are authentic and don't include links to suspicious websites. But we must #StayAlert, never share your password or enter it on a site that you are not certain is valid.
On local, HPC systems you may be able to use your standard institutional credentials. On other services you will typically be provided with your initial password for logging onto the system.
When you log into a new service for the first time you will likely be asked to change your password. If you are not, you should change it at first log-in with the command passwd
. Once you have logged in or run the command, the password change sequence is:
There may be a forced password policy to help ensure that you are using a strong password.
N.B. You may be logged out and can now log back in with your new password.
You may now change your password on the machine itself using the passwd
command. If you forget your password, you should contact your system administrator/helpdesk.
The problem with this is indicated in the xkcd cartoon reproduced above. Often this will cause us to choose a password which is difficult to remember. Furthermore, if not random but based on a single complex word it will often be relatively easy for a computer to crack.
Many security conscious organisations are now recommending against what was traditionally considered the good password style (the one used by that source) and are moving towards the XKCD-style passphrase, three or four random words, due to being easier to remember and harder to guess. This is not just for humour but has been promoted by the National Cyber Security Centre for a number of years.
Alternatively use machine generated passwords, but these rely on the users using a password manager (or having excellent memory) and being comfortable with using it from the terminal (or copying the password across every time the need it) if used for SSH.