2.C: Logging Out | 2.A: Logging In | Contents |
It it fairly standard, the first time you log onto a Unix system, to be asked to change your password.
Before picking a password, it is important to consider security. A good password is easy for you to remember and hard for someone else to guess. Here is some good advice from A Scientist's and Engineer's Guide to Workstations and Supercomputers (an excellent paper-based book for scientists and engineers, which, incidently, was written by one of the directors of this project):
A good way of getting a secure password is to think of a phrase
and then take the initial letters of the words in the phrase, randomly
capitalizing and adding punctuation. License plate combinations like
10sne1
also work well. Keep several passwords in mind,
so you can change your password regularly (every few months or any
time you think someone else knows it).
Keep in mind that your password is your own. No one else should know it. Do not share your account with other users by giving your password to them. Depending on the conditions under which your account was given to you, sharing it may be like sharing your driver's license, it is often grounds for revocation. Please do not do it.
Keep your password secure. Do not keep it in a computer file or send it by email.
If you wish to change your password, issue the command:
> passwd
followed by the return key. (Remember, the
>
is the computer's prompt, and it may be different on
your system.) If your password has expired, Unix may automatically
start this command for you. Either way, you will be prompted first
for your old password and then for your new password. In fact, you
will be prompted several times to enter your new password just to make
sure you and Unix got it right.
Be sure to notice if the Num Lock or Caps Lock key has been activated. Unix is case-sensitive, so while both are acceptable, "10sne1" is not the same as "10SNE1".
Ask your system administrator for help when you forget your password.
We will look briefly at logging out, before looking at some basic Unix commands.
2.C: Logging Out | 2.A: Logging In | Contents |