Blame

05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
1
# FAQ
2
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
3
## How do I change my password?
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
4
5
You can change your password either by logging into one of the Linux machines in the domain directly (at the terminal) or by sshing to login.cms.caltech.edu.
6
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
7
Using SSH is as simple as typing at a command line, if you use a **Linux** or **Mac** machine:
8
```
9
ssh [yourusername]@login.cms.caltech.edu
10
```
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
11
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
12
If you use **Windows**, you'll need to get an SSH client for Windows.
13
You can download one of the freely available SSH clients off of the Internet,
14
such as [PuTTY](http://www.chiark.greenend.org.uk/~sgtatham/putty/).
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
15
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
16
Use `login.cms.caltech.edu` as the host name, and *SSH (port 22)* as the protocol.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
17
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
18
At a command prompt, type in `passwd` then follow the instructions.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
19
20
Example:
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
21
22
```
23
[somebody@login:~]> passwd
24
```
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
25
26
_Press Enter_
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
27
28
```
29
Changing password for user somebody.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
30
Enter login(LDAP) password:
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
31
```
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
32
33
_Type in your current password and press Enter_
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
34
35
```
36
New password:
37
```
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
38
39
_Type in your new password and press Enter_
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
40
41
```Retype new password:
42
```
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
43
44
_Re-enter your new password and press Enter_
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
45
46
```
47
LDAP password information changed for somebody
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
48
passwd: all authentication tokens updated successfully.
49
[somebody@login:~]>
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
50
```
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
51
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
52
#### Your new password needs to be:
53
- at least 8 characters in length
54
- not be based on a dictionary word
55
- contain a mix of alpha and non-alphanumeric characters (`a-z` and `!@#$%^&*()`)
56
- cannot be similar to your previous password
57
58
A common practice is to think of a phrase that you won't forget, like "My CMS password is really easy right now", and then take the first character of each word and make it your password, adding a punctuation mark, and a numerical.
78a4e6 Dave LeBlanc 2026-11-02 16:27:46
FAQ updated on Mon Nov 2 16:27:31 2026
59
In the above example, your password would be `MCp1rern!`.
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
60
61
> [!Note]
62
>Don't use the exact example above!
63
>Use your own phrase.
64
65
## What's the password policy in CMS?
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
66
67
CMS has a password lifecycle of 180 days, adjusted to compensate for change-of-term and end-of-year. If you have a CMS account, you will be required to change your password twice a year.
68
69
You will be notified via the CMS department newsletter when a password changing event is coming up. You will also be prompted when/if you log into the CMS UNIX hosts that your password is near to expiring for several days prior to your account being locked out.
70
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
71
If you need practical information on how to change your password, see [How do I change my password?](#how-do-i-change-my-password) above.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
72
73
When you change your password, you will be required to follow UNIX-style minimum password requirements. If you also have a Windows account, we suggest that you make your password fit the Windows-style minimum password requirements as well, so that you can use the same password for both accounts.
74
75
If you forget your password, and you need your account reset, you can email helpATcms.caltech.edu to contact the system administrators. We will need to be able to confirm your identity somehow in order to reset your account. The easiest method of accomplishing this is to physically walk over to our office, in 112 Annenberg, with your Caltech ID.
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
76
77
## What is CMS's account policy?
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
78
79
When you request a CMS account through the CMS account request form, your account is created with a default expiration date of 4 years from your request date, or your estimated graduation date, whichever is earlier. This is for ease of administration - your CMS account may be culled if you are no longer affiliated with the Institute. If you are a visitor, your account is enabled only for the length of your stay at Caltech.
80
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
81
CMS accounts are intended for use by the requestor of the account _ONLY_.\
82
**Do not share your CMS username and password with anyone.**
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
83
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
84
You should change your CMS password at least once every 6 months.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
85
86
At the time of your expiration date, your account will become locked - that is, your account will still exist, but you will be unable to log in interactively.
87
88
Six months after your account expiration date, your data store will be archived, your homedirectory removed, and your local mail delivery halted. This archival process is not backed up, so any data that is remaining in your homedirectory is no longer guaranteed to exist past archival date.
89
90
As a service to former CMS students who have published their CMS mail accounts on academic papers, you may leave the CMS sysadmins with a forwarding address. We will continue to forward all email to your (username)@cms.caltech.edu account to that destination address, provided that the email delivery continues to be allowed. It is your sole responsibility to keep your forwarding address current. If your destination address consistently bounces/rejects mail, we will remove the mail forward.
91
92
Once we remove you from the mail alias list, we will not re-instate your mail forward.
93
94
We do not provide web redirection or other services to former holders of CMS accounts. Be aware that your CMS webspace is available only for the duration of your account.
95
96
If you do not graduate within 4 years, or if you stay at the institute as a graduate student, you may of course continue to use your CMS account. However, since there is no automated fashion in which we can acquire this information, it is again the responsibility of the CMS account holder to inform the CMS sysadmins (via helpATcms.caltech.edu) that you are staying at the institution, and that you need your account active.
97
98
It may come to pass after undergraduate graduation or completion of a doctoral program that you will be continuing to collaborate on projects with existing CMS students or faculty. If this is going to be the case, you may inform the CMS sysadmins that you are requesting collaborator status. This MUST be accompanied by approval from a faculty member. Collaborator accounts are enabled for a 1 year block of time. At the end of the year, unless informed again by the faculty member of an extension for another 1 year period, your account will be expired following the process above.
99
100
Finally, it is always the responsibility of the CMS account holder to read all email originating from the CMS sysadmins, so that you will be kept abreast of system outages, changes, etc.
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
101
102
## What is the remote login policy?
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
103
104
It is _always_ better to log into your CMS account at a console - that is, sitting in front of a keyboard at the machine you're logging into.
105
106
This is of course not always feasible. If you are remotely logging into CMS machines, your sysadmins request that you follow these general rules:
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
107
- Do not connect to CMS machines from unknown or untrusted hosts!\
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
108
This means, don't log into CMS machines from a public terminal at a convention somewhere. If you are not absolutely certain of the security state of a public machine, and if that machine is compromised, you're giving away your username and password.
109
110
This also means that you need to be keeping your personal computer(s) up to date and patched with the latest security updates.
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
111
- If you're connecting remotely to ANY resource in CMS, we ask that you start at `login.cms.caltech.edu`.\
112
So if you need to connect to a particular machine for some reason, and you're coming from your home machine, ssh to `login.cms.caltech.edu`, and then from `login.cms.caltech.edu` connect to the machine you're trying to reach. This seems counter-intuitive, but that way the CMS system administrators can keep an eye on the individual auth logs and catch "strange" connections as possible security intrusions.
113
- Do not chain through multiple hosts to get to CMS machines.
114
If you're sitting at your home machine, and you want to connect to CMS, ssh to `login.cms.caltech.edu` directly. For example, don't connect to your account at Berkeley, then your account at your old high school, then your buddy's machine in West Germany, and finally to CMS. If there are any compromises on any of those other machines, you may be giving away your username and password.
115
116
## How do I create a web page?
117
118
By default, every user is allowed to host a web page (within the bounds of their quota) on the CMS users site. \
119
To do this, create a folder called `public_html` in your home directory, and ensure that the folder is world-readable and executable. \
120
Then any files you place in `~/username/public_html` will be visible at `http://users.cms.caltech.edu/~username`
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
121
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
122
## How do I password-protect my web page?
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
123
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
124
First, you need to be aware that `http://users.cms.caltech.edu` is not encrypted and any passwords involved *should not* be related to your normal CMS password(s) because the passwords involved will be sent as ***clear plain text***.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
125
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
126
To password-protect a directory\
127
(in `~/public_html`, or `http://users.cms.caltech.edu/~user`):
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
128
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
129
Create a file named `.htaccess` that contains:
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
130
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
131
```
132
AuthUserFile /home/user/public_html/.htpasswd
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
133
AuthType Basic
134
AuthName "User's Secrets"
135
Require valid-user
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
136
```
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
137
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
138
where *user* is your CMS username. You may optionally name "AuthName" anything you like.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
139
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
140
> [!Note]
141
> This password protects the directory and all sub-directories below where the `.htaccess` file is located.
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
142
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
143
To protect _specific files_:
144
1. Replace the "Require" directive above with:
145
```
146
<Files "filename.html">
147
Require valid-user
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
148
</Files>
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
149
```
150
2. Next, create the `.htpasswd` file by envoking (on `LOGIN.CMS`):
151
`htpasswd2 -c [the location in "AuthUserFile"] username`
152
where "username" is the username allowed access after authentication.\
153
The above command will prompt you for a password (twice, to confirm).
154
the `-c` parameter specifies to CREATE the file, so if the file exists, \
155
it will be rewritten and truncated, eliminating any existing usernames/passwords.
156
157
3. Finally, make the two files, `.htaccess` and `.htpasswd`, group-accessible to the 'www' group so that the web server may read them. \
158
Remove world-read/write bits on the files as well, with:
159
```
160
chgrp www .htaccess
05095d Dave LeBlanc 2026-10-29 18:03:48
FAQ updated on Thu Oct 29 18:03:42 2026
161
chgrp www .htpasswd
162
chmod o-rwx .htaccess
163
chmod o-rwx .htpasswd
33f3d5 Dave LeBlanc 2026-11-02 16:27:22
FAQ updated on Mon Nov 2 16:26:40 2026
164
```