Main navigation

Changing password

How to change your password

If you forgot your password, use this link instead to reset it.

See this page about how to choose a good password: http://www.wikihow.com/Choose-a-Secure-Password

At a login node shell prompt, enter:

/u/local/bin/passwd

Please adhere to the following rules when creating your password:

  • You cannot use your username or a significant portion of it in your password.
  • You need to have a minimum of 8 characters.
  • You need to have at least 5 unique (different) characters.
  • You need to have at least one character from 3 different character classes.
  • The character classes are: UPPERCASE CHARACTERS, lowercase characters, digits (0-9), and punctuation ((  !#%&)(+*-,/.;=<?>@[ ]\_^`{ }|~  )).

You do not have to additionally change your password on the compute nodes. It usually takes 10-20 minutes for your new password to propagate to all the cluster nodes.

How to change your shell

At a login node shell prompt, enter:

/u/local/bin/chsh

Note that your new shell will take affect the next time you login. It usually takes 10-20 minutes for shell information to propagate to all the cluster nodes.

Shell-specific dot files

When your cluster login ID is created, several dot files are saved for you in your home directory and which are not usually shown with the ls command. You can list them with ls -a  (They are called dot files because their names start with a dot or period or full stop.)

These files are scripts that are used to initialize your working environment every time you login or start up a new shell. There are different dot files for each shell.

bash shell
.bash_profile
Invoked at login. Use this file to change your $PATH and set other environment variables.
.bashrc
Invoked at the start of a new shell. Use this file to assign command aliases.
tcsh shell
.login
Invoked at login. Use this file for setting environment variables or assigning aliases for terminal sessions.
.tcshrc
Invoked at the start of a new shell. Use this file to change your $PATH, set other environment variables and assign command aliases for all your sessions, including terminal sessions.

Refreshing your shell init scripts

If you ever wish to refresh the shell init scripts to their default settings, they may be found in the directory /u/local/Init-Scripts on the cluster.  In that directory are instructions for refreshing your init scripts as well as a short script, “restore-init-scripts.sh” to perform the refresh automatically.

Report Typos and Errors
UCLA OIT

© 2016 UC REGENTS TERMS OF USE & PRIVACY POLICY