WWC snapshot of http://www.alw.nih.gov/Docs/AFS/AFS_3.html taken on Sat Jun 10 19:13:07 1995

Go to the previous, next section.

Authentication

The chapter contains some more details about authentication and tokens for AFS.

Getting a token

If, when you login, `login' prints `AFS 3.1 Login', then a token has been automatically obtained for you. You can verify that you have a valid token with the `tokens' command.

The X display manager (XDM) has not yet been modified to obtain tokens for users, so users using workstations or X terminals will have to obtain a token manually. (This may change.) You may obtain a token using the `klog' command:

% klog
Password: yourpassword

Note: Even when you log in using AFS login, you will still need to know how `klog' works, as your tokens will still expire after 25 hours.

If you wish to access another users files temporarily, it is not necessary to log out and log in again. Just issue a `klog user' command and continue as the other user.

Getting rid of a token

If you wish to destroy your token for a cell, you can use the `unlog' command. This is useful, for example, when you authenticate as someone else temporarily, and then want to destroy the token.

Changing your AFS password

You may change your AFS password from any machine within the cell using the `kpasswd' command. The change takes effect throughout the cell immediately.

% kpasswd
Changing password for 'amjudge' in cell 'alw.nih.gov'.
Old password: oldpass
New password (RETURN to abort): newpass
Retype new password: newpass
Password changed.

Note: We strongly recommend that you use the same password for both AFS and your UNIX login. This will ease problems as we migrate towards using AFS passwords for logins.

Go to the previous, next section.

Back up to ALW Home Page