How to change your Hoffman2 Cluster password
To change your password, at a shell prompt enter:
passwd
You will be prompted for your old password, and then twice for your new password. You do not have to additionally change your password on the compute nodes; the system will propagate your new password to all the cluster nodes.
If you have forgotten your cluster password and cannot even login, you can request that the sysadmin change your cluster password for you. See Forgot Your Cluster Password?
How to change your shell
To change your shell, at a shell prompt enter:
chsh
Note that your new shell will take affect the next time you login.
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.