Replacing Unix .(dot) Files »
If you are unable to use the module command or if your prompt looks unual, then you're probably missing "." files. Ever account start of with basic statup files. These files may have been removed mistakenly if the user was not careful.
The following files MUST be in your Unix (H:) account:
- .cshrc
- .login
- .logout
If one or all of the above files is missing, you will have problems logging onto the Sun workstations.
You can add them by following these steps:
- SSH to openlab.ics.uci.edu from the Windows machines
- If you can NOT SSH to openlab, have the lab assistant reset your Unix password and try again.
- If it still does not work, please ask the lab assistant to file an online report form.
- Type in the following command at the prompt:
- %cd /opt/local/etc/skel/acct/
- Copy all missing files ending with "@" to /home/"login_name"/."filename"
Remember to put the dot before the destination file.
- For example, if you are missing the .cshrc file you would type the following at the prompt:
- %cp cshrc /home/"login_name"/.cshrc
- After copying all the files you are missing, return to your home directory by typing the following command at the prompt:
- %cd
- Finally, you need to chmod all the files you copied. This basically means changing the permission on the file so that it is only changeable by you. Type the following command for each of the files you copied:
- %chmod 744 ."filename"
- For example, for the cshrc file, it would be:
- %chmod 744 .cshrc
- You're DONE!
If you have any questions regarding the above procedure, please contact the Lab Assistant.