xml-docbook-documentation-first-pass-20060915
[openafs.git] / doc / xml / UserGuide / c569.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Using AFS</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
9 REL="HOME"
10 TITLE="AFS User Guide"
11 HREF="book1.html"><LINK
12 REL="PREVIOUS"
13 TITLE="An Introduction to AFS"
14 HREF="c113.html"><LINK
15 REL="NEXT"
16 TITLE="Displaying Information about AFS"
17 HREF="c1095.html"></HEAD
18 ><BODY
19 CLASS="chapter"
20 BGCOLOR="#FFFFFF"
21 TEXT="#000000"
22 LINK="#0000FF"
23 VLINK="#840084"
24 ALINK="#0000FF"
25 ><DIV
26 CLASS="NAVHEADER"
27 ><TABLE
28 SUMMARY="Header navigation table"
29 WIDTH="100%"
30 BORDER="0"
31 CELLPADDING="0"
32 CELLSPACING="0"
33 ><TR
34 ><TH
35 COLSPAN="3"
36 ALIGN="center"
37 >AFS User Guide: Version 3.6</TH
38 ></TR
39 ><TR
40 ><TD
41 WIDTH="10%"
42 ALIGN="left"
43 VALIGN="bottom"
44 ><A
45 HREF="c113.html"
46 ACCESSKEY="P"
47 >Prev</A
48 ></TD
49 ><TD
50 WIDTH="80%"
51 ALIGN="center"
52 VALIGN="bottom"
53 ></TD
54 ><TD
55 WIDTH="10%"
56 ALIGN="right"
57 VALIGN="bottom"
58 ><A
59 HREF="c1095.html"
60 ACCESSKEY="N"
61 >Next</A
62 ></TD
63 ></TR
64 ></TABLE
65 ><HR
66 ALIGN="LEFT"
67 WIDTH="100%"></DIV
68 ><DIV
69 CLASS="chapter"
70 ><H1
71 ><A
72 NAME="HDRWQ20"
73 ></A
74 >Chapter 2. Using AFS</H1
75 ><P
76 >This chapter explains how to perform four basic AFS tasks: logging in and authenticating with AFS, ending an AFS session,
77   accessing the AFS filespace, and changing your password.</P
78 ><DIV
79 CLASS="sect1"
80 ><H1
81 CLASS="sect1"
82 ><A
83 NAME="HDRWQ21"
84 >Logging in and Authenticating with AFS</A
85 ></H1
86 ><P
87 >To access the AFS filespace as an authenticated user, you must both log into an AFS client machine's local (UNIX) file
88     system and authenticate with AFS. When you log in, you establish your local system identity. When you authenticate, you prove
89     your identity to AFS and obtain a token, which your Cache Manager uses to prove your authenticated status to the AFS server
90     processes it contacts on your behalf. Users who are not authenticated (who do not have a token) have limited access to AFS
91     directories and files.</P
92 ><DIV
93 CLASS="sect2"
94 ><H2
95 CLASS="sect2"
96 ><A
97 NAME="HDRWQ22"
98 >Logging In</A
99 ></H2
100 ><P
101 >On machines that use an AFS-modified login utility, you log in and authenticate in one step. On machines that do not use
102       an AFS-modified login utility, you log in and authenticate in separate steps. To determine which type of login utility your
103       machine uses, you can check for AFS tokens after logging in, or ask your system administrator, who can also tell you about any
104       differences between your login procedure and the two methods described here.</P
105 ></DIV
106 ><DIV
107 CLASS="sect2"
108 ><H2
109 CLASS="sect2"
110 ><A
111 NAME="Header_33"
112 >To Log In Using an AFS-modified Login Utility</A
113 ></H2
114 ><P
115 >Provide your username at the <SAMP
116 CLASS="computeroutput"
117 >login:</SAMP
118 > prompt that appears when you establish a new
119       connection to a machine. Then provide your password at the <SAMP
120 CLASS="computeroutput"
121 >Password:</SAMP
122 > prompt as shown in the
123       following example. (Your password does not echo visibly on the screen.)</P
124 ><PRE
125 CLASS="programlisting"
126 >&#13;   login: <VAR
127 CLASS="replaceable"
128 >username</VAR
129 >
130    Password: <VAR
131 CLASS="replaceable"
132 >password</VAR
133 >
134 </PRE
135 ><P
136 >If you are not sure which type of login utility is running on your machine, it is best to issue the <SPAN
137 CLASS="bold"
138 ><B
139 CLASS="emphasis"
140 >tokens</B
141 ></SPAN
142 > command to check if you are authenticated; for instructions, see <A
143 HREF="c569.html#HDRWQ30"
144 >To
145       Display Your Tokens</A
146 >. If you do not have tokens, issue the <SPAN
147 CLASS="bold"
148 ><B
149 CLASS="emphasis"
150 >klog</B
151 ></SPAN
152 > command as described in
153       <A
154 HREF="c569.html#HDRWQ29"
155 >To Authenticate with AFS</A
156 >.</P
157 ></DIV
158 ><DIV
159 CLASS="sect2"
160 ><H2
161 CLASS="sect2"
162 ><A
163 NAME="HDRWQ23"
164 >To Log In Using a Two-Step Login Procedure</A
165 ></H2
166 ><P
167 >If your machine does not use an AFS-modified login utility, you must perform a two-step procedure:
168
169       <OL
170 TYPE="1"
171 ><LI
172 ><P
173 >Log in to your client machine's local file system by providing a user name and password at the <SPAN
174 CLASS="bold"
175 ><B
176 CLASS="emphasis"
177 >login</B
178 ></SPAN
179 > program's prompts.</P
180 ></LI
181 ><LI
182 ><P
183 >Issue the <SPAN
184 CLASS="bold"
185 ><B
186 CLASS="emphasis"
187 >klog</B
188 ></SPAN
189 > command to authenticate with AFS. Include the command's <SPAN
190 CLASS="bold"
191 ><B
192 CLASS="emphasis"
193 >-setpag</B
194 ></SPAN
195 > argument to associate your token with a special identification number called a
196           <SPAN
197 CLASS="emphasis"
198 ><I
199 CLASS="emphasis"
200 >PAG</I
201 ></SPAN
202 > (for <SPAN
203 CLASS="emphasis"
204 ><I
205 CLASS="emphasis"
206 >process authentication group</I
207 ></SPAN
208 >). For a description of PAGs, see <A
209 HREF="c569.html#HDRWQ25"
210 >Protecting Your Tokens with a PAG</A
211 >. <PRE
212 CLASS="programlisting"
213 >&#13;  
214    % <SPAN
215 CLASS="bold"
216 ><B
217 CLASS="emphasis"
218 >klog -setpag</B
219 ></SPAN
220 >
221    Password: <VAR
222 CLASS="replaceable"
223 >your_AFS_password</VAR
224 >
225 </PRE
226 ></P
227 ></LI
228 ></OL
229 >
230 </P
231 ><DIV
232 CLASS="note"
233 ><BLOCKQUOTE
234 CLASS="note"
235 ><P
236 ><B
237 >Note: </B
238 >If your machine uses a two-step login procedure, you can choose to use different passwords for logging in and
239         authenticating. It is simplest to use the same one for both, though. Talk with your system administrator.</P
240 ></BLOCKQUOTE
241 ></DIV
242 ></DIV
243 ><DIV
244 CLASS="sect2"
245 ><H2
246 CLASS="sect2"
247 ><A
248 NAME="HDRWQ24"
249 >Authenticating with AFS</A
250 ></H2
251 ><P
252 >To work most effectively in the AFS filespace, you must authenticate with AFS. When you do, your Cache Manager is given
253       a token as proof of your authenticated status. It uses your token when requesting services from AFS servers, which accept the
254       token as proof of your authenticated status. If you do not have a token, AFS servers consider you to be the <SPAN
255 CLASS="bold"
256 ><B
257 CLASS="emphasis"
258 >anonymous</B
259 ></SPAN
260 > user and your access to AFS filespace is limited: you have only the ACL permissions granted
261       to the <SPAN
262 CLASS="bold"
263 ><B
264 CLASS="emphasis"
265 >system:anyuser</B
266 ></SPAN
267 > group.   </P
268 ><P
269 >You can obtain new tokens (reauthenticate) at any time, even after using an AFS-modified login utility, which logs you
270       in and authenticates you in one step. Issue the <SPAN
271 CLASS="bold"
272 ><B
273 CLASS="emphasis"
274 >klog</B
275 ></SPAN
276 > command as described in <A
277 HREF="c569.html#HDRWQ29"
278 >To Authenticate with AFS</A
279 >.</P
280 ><DIV
281 CLASS="sect3"
282 ><H3
283 CLASS="sect3"
284 ><A
285 NAME="HDRWQ25"
286 >Protecting Your Tokens with a PAG</A
287 ></H3
288 ><P
289 >To make your access to AFS as secure as possible, it is best to associate your tokens with a unique identification
290         number called a <SPAN
291 CLASS="emphasis"
292 ><I
293 CLASS="emphasis"
294 >PAG</I
295 ></SPAN
296 > (for <SPAN
297 CLASS="emphasis"
298 ><I
299 CLASS="emphasis"
300 >process authentication group</I
301 ></SPAN
302 >). 
303           AFS-modified login utilities automatically create a PAG and associate the new
304         token with it. To create a PAG when you use the two-step login procedure, include the <SPAN
305 CLASS="bold"
306 ><B
307 CLASS="emphasis"
308 >klog</B
309 ></SPAN
310 >
311         command's <SPAN
312 CLASS="bold"
313 ><B
314 CLASS="emphasis"
315 >-setpag</B
316 ></SPAN
317 > flag. If you do not use this flag, your tokens are associated with your
318         UNIX UID number instead. This type of association has two potential drawbacks:
319
320         <UL
321 ><LI
322 ><P
323 >Anyone who can assume your local UNIX identity can use your tokens. The local superuser <SPAN
324 CLASS="bold"
325 ><B
326 CLASS="emphasis"
327 >root</B
328 ></SPAN
329 > can always use the UNIX <SPAN
330 CLASS="bold"
331 ><B
332 CLASS="emphasis"
333 >su</B
334 ></SPAN
335 > command to assume your UNIX UID,
336             even without knowing your password.</P
337 ></LI
338 ><LI
339 ><P
340 >In some environments, certain programs cannot use your tokens even when it is appropriate for them to do so. For
341             example, printing commands such as <SPAN
342 CLASS="bold"
343 ><B
344 CLASS="emphasis"
345 >lp</B
346 ></SPAN
347 > or <SPAN
348 CLASS="bold"
349 ><B
350 CLASS="emphasis"
351 >lpr</B
352 ></SPAN
353 > possibly
354             cannot access the files you want to print, because they cannot use your tokens.</P
355 ></LI
356 ></UL
357 >
358 </P
359 ></DIV
360 ><DIV
361 CLASS="sect3"
362 ><H3
363 CLASS="sect3"
364 ><A
365 NAME="HDRWQ26"
366 >Obtaining Tokens For Foreign Cells</A
367 ></H3
368 ><P
369 >A token is valid only in one cell (the cell whose AFS authentication service issued it). The AFS server processes in
370         any other cell consider you to be the <SPAN
371 CLASS="bold"
372 ><B
373 CLASS="emphasis"
374 >anonymous</B
375 ></SPAN
376 > user unless you have an account in the cell
377         and authenticate with its AFS authentication service.</P
378 ><P
379 >To obtain tokens in a foreign cell, use the <SPAN
380 CLASS="bold"
381 ><B
382 CLASS="emphasis"
383 >-cell</B
384 ></SPAN
385 > argument to the <SPAN
386 CLASS="bold"
387 ><B
388 CLASS="emphasis"
389 >klog</B
390 ></SPAN
391 > command. You can have tokens for your home cell and one or more foreign cells at the same
392         time.</P
393 ></DIV
394 ><DIV
395 CLASS="sect3"
396 ><H3
397 CLASS="sect3"
398 ><A
399 NAME="HDRWQ27"
400 >The One-Token-Per-Cell Rule</A
401 ></H3
402 ><P
403 >You can have only one token per cell for each PAG you have obtained on a client machine. If you already have a token
404         for a particular cell and issue the <SPAN
405 CLASS="bold"
406 ><B
407 CLASS="emphasis"
408 >klog</B
409 ></SPAN
410 > command, the new token overwrites the existing
411         one. Getting a new token is useful if your current token is almost expired but you want to continue accessing AFS files. For
412         a discussion of token expiration, see <A
413 HREF="c569.html#HDRWQ28"
414 >Token Lifetime</A
415 >.</P
416 ><P
417 >To obtain a second token for the same cell, you must either login on a different machine or establish another separate
418         connection to the machine where you already have a token (by using the <SPAN
419 CLASS="bold"
420 ><B
421 CLASS="emphasis"
422 >telnet</B
423 ></SPAN
424 > utility, for
425         example). You get a new PAG for each separate machine or connection, and can use the associated tokens only while working on
426         that machine or connection.</P
427 ></DIV
428 ><DIV
429 CLASS="sect3"
430 ><H3
431 CLASS="sect3"
432 ><A
433 NAME="Header_39"
434 >Obtaining Tokens as Another User</A
435 ></H3
436 ><P
437 >You can authenticate as another username if you know the associated password. (It is, of course, unethical to use
438         someone else's tokens without permission.) If you use the <SPAN
439 CLASS="bold"
440 ><B
441 CLASS="emphasis"
442 >klog</B
443 ></SPAN
444 > command to authenticate as
445         another AFS username, you retain your own local (UNIX) identity, but the AFS server processes recognize you as the other
446         user. The new token replaces any token you already have for the relevant cell (for the reason described in <A
447 HREF="c569.html#HDRWQ27"
448 >The One-Token-Per-Cell Rule</A
449 >).</P
450 ></DIV
451 ><DIV
452 CLASS="sect3"
453 ><H3
454 CLASS="sect3"
455 ><A
456 NAME="HDRWQ28"
457 >Token Lifetime</A
458 ></H3
459 ><P
460 >Tokens have a limited lifetime. To determine when your tokens expire, issue the <SPAN
461 CLASS="bold"
462 ><B
463 CLASS="emphasis"
464 >tokens</B
465 ></SPAN
466 > command as described in <A
467 HREF="c569.html#HDRWQ30"
468 >To Display Your Tokens</A
469 >. If you are ever
470         unable to access AFS in a way that you normally can, issuing the <SPAN
471 CLASS="bold"
472 ><B
473 CLASS="emphasis"
474 >tokens</B
475 ></SPAN
476 > command tells you
477         whether an expired token is a possible reason.</P
478 ><P
479 >Your cell's administrators set the default lifetime of your token. The AFS authentication service never grants a token
480         lifetime longer than the default, but you can request a token with a shorter lifetime. See the <SPAN
481 CLASS="bold"
482 ><B
483 CLASS="emphasis"
484 >klog</B
485 ></SPAN
486 > reference page in the <SPAN
487 CLASS="emphasis"
488 ><I
489 CLASS="emphasis"
490 >IBM AFS Administration Reference</I
491 ></SPAN
492 > to learn how to use
493         its <SPAN
494 CLASS="bold"
495 ><B
496 CLASS="emphasis"
497 >-lifetime</B
498 ></SPAN
499 > argument for this purpose.</P
500 ></DIV
501 ><DIV
502 CLASS="sect3"
503 ><H3
504 CLASS="sect3"
505 ><A
506 NAME="Header_41"
507 >Authenticating for DFS Access</A
508 ></H3
509 ><P
510 >If your machine is configured to access a DCE cell's DFS filespace by means of the AFS/DFS Migration Toolkit, you can
511         use the <SPAN
512 CLASS="bold"
513 ><B
514 CLASS="emphasis"
515 >dlog</B
516 ></SPAN
517 > command to authenticate with DCE. The <SPAN
518 CLASS="bold"
519 ><B
520 CLASS="emphasis"
521 >dlog</B
522 ></SPAN
523 >
524         command has no effect on your ability to access AFS filespace.</P
525 ><P
526 >If your system administrator has converted your AFS account to a DCE account and you are not sure of your DCE
527         password, use the <SPAN
528 CLASS="bold"
529 ><B
530 CLASS="emphasis"
531 >dpass</B
532 ></SPAN
533 > command to display it. You must be authenticated as the AFS user
534         whose AFS account was converted to a DCE account, and be able to provide the correct AFS password. Like the <SPAN
535 CLASS="bold"
536 ><B
537 CLASS="emphasis"
538 >dlog</B
539 ></SPAN
540 > command, the <SPAN
541 CLASS="bold"
542 ><B
543 CLASS="emphasis"
544 >dpass</B
545 ></SPAN
546 > command has no functionality with respect to
547         AFS.</P
548 ><P
549 >For more information on using the <SPAN
550 CLASS="bold"
551 ><B
552 CLASS="emphasis"
553 >dlog</B
554 ></SPAN
555 > and <SPAN
556 CLASS="bold"
557 ><B
558 CLASS="emphasis"
559 >dpass</B
560 ></SPAN
561 >
562         commands, see your system administrator.</P
563 ></DIV
564 ></DIV
565 ><DIV
566 CLASS="sect2"
567 ><H2
568 CLASS="sect2"
569 ><A
570 NAME="HDRWQ29"
571 >To Authenticate with AFS</A
572 ></H2
573 ><P
574 >If your machine is not using an AFS-modified login utility, you must authenticate after login by issuing the <SPAN
575 CLASS="bold"
576 ><B
577 CLASS="emphasis"
578 >klog</B
579 ></SPAN
580 > command. You can also issue this command at any time to obtain a token with a later expiration
581       date than your current token.</P
582 ><PRE
583 CLASS="programlisting"
584 >&#13;   % <SPAN
585 CLASS="bold"
586 ><B
587 CLASS="emphasis"
588 >klog</B
589 ></SPAN
590 > [<SPAN
591 CLASS="bold"
592 ><B
593 CLASS="emphasis"
594 >-setpag</B
595 ></SPAN
596 >] [<SPAN
597 CLASS="bold"
598 ><B
599 CLASS="emphasis"
600 >-cell</B
601 ></SPAN
602 > &#60;<VAR
603 CLASS="replaceable"
604 >cell name</VAR
605 >&#62;]
606    Password: <VAR
607 CLASS="replaceable"
608 >your_AFS_password</VAR
609 >
610 </PRE
611 ><P
612 >where
613
614       <DIV
615 CLASS="variablelist"
616 ><DL
617 ><DT
618 ><SPAN
619 CLASS="bold"
620 ><B
621 CLASS="emphasis"
622 >-setpag</B
623 ></SPAN
624 ></DT
625 ><DD
626 ><P
627 >Associates the resulting tokens with a PAG (see <A
628 HREF="c569.html#HDRWQ25"
629 >Protecting Your Tokens with a PAG</A
630 >).
631             Include this flag the first time you obtain a token for a particular cell during a login session or connection. Do not
632             include it when refreshing the token for a cell during the same session.</P
633 ></DD
634 ><DT
635 ><SPAN
636 CLASS="bold"
637 ><B
638 CLASS="emphasis"
639 >-cell</B
640 ></SPAN
641 ></DT
642 ><DD
643 ><P
644 >Names the cell for which to obtain the token. You must have an account in the cell.</P
645 ></DD
646 ></DL
647 ></DIV
648 >
649 </P
650 ><P
651 >Your password does not echo visibly appear on the screen. When the command shell prompt returns, you are an
652       authenticated AFS user. You can use the <SPAN
653 CLASS="bold"
654 ><B
655 CLASS="emphasis"
656 >tokens</B
657 ></SPAN
658 > command to verify that you are authenticated,
659       as described in the following section.</P
660 ></DIV
661 ><DIV
662 CLASS="sect2"
663 ><H2
664 CLASS="sect2"
665 ><A
666 NAME="HDRWQ30"
667 >To Display Your Tokens</A
668 ></H2
669 ><P
670 >Use the <SPAN
671 CLASS="bold"
672 ><B
673 CLASS="emphasis"
674 >tokens</B
675 ></SPAN
676 > command to display your tokens.</P
677 ><PRE
678 CLASS="programlisting"
679 >&#13;   % <SPAN
680 CLASS="bold"
681 ><B
682 CLASS="emphasis"
683 >tokens</B
684 ></SPAN
685 >
686 </PRE
687 ><P
688 >The following output indicates that you have no tokens:</P
689 ><PRE
690 CLASS="programlisting"
691 >&#13;   Tokens held by the Cache Manager:
692        --End of list--
693 </PRE
694 ><P
695 >If you have one or more tokens, the output looks something like the following example, in which the tokens for AFS UID
696       1022 in the <SPAN
697 CLASS="bold"
698 ><B
699 CLASS="emphasis"
700 >abc.com</B
701 ></SPAN
702 > cell expire on August 3 at 2:35 p.m. The tokens for AFS UID 9554 in the
703       <SPAN
704 CLASS="bold"
705 ><B
706 CLASS="emphasis"
707 >stateu.edu</B
708 ></SPAN
709 > cell expire on August 4 at 1:02 a.m.</P
710 ><PRE
711 CLASS="programlisting"
712 >&#13;   Tokens held by the Cache Manager:
713    User's (AFS ID 1022) tokens for afs@abc.com [Expires Aug   3 14:35]
714    User's (AFS ID 9554) tokens for afs@stateu.edu [Expires Aug   4  1:02] 
715       --End of list--
716 </PRE
717 ></DIV
718 ><DIV
719 CLASS="sect2"
720 ><H2
721 CLASS="sect2"
722 ><A
723 NAME="Header_44"
724 >Example: Authenticating in the Local Cell</A
725 ></H2
726 ><P
727 >Suppose that user <SPAN
728 CLASS="bold"
729 ><B
730 CLASS="emphasis"
731 >terry</B
732 ></SPAN
733 > cannot save a file. He uses the <SPAN
734 CLASS="bold"
735 ><B
736 CLASS="emphasis"
737 >tokens</B
738 ></SPAN
739 > command and finds that his tokens have expired. He reauthenticates in his local cell under his
740       current identity by issuing the following command:</P
741 ><PRE
742 CLASS="programlisting"
743 >&#13;   % <SPAN
744 CLASS="bold"
745 ><B
746 CLASS="emphasis"
747 >klog</B
748 ></SPAN
749 >
750    Password:  <VAR
751 CLASS="replaceable"
752 >terry's_password</VAR
753 >
754 </PRE
755 ><P
756 >The he issues the <SPAN
757 CLASS="bold"
758 ><B
759 CLASS="emphasis"
760 >tokens</B
761 ></SPAN
762 > command to make sure he is authenticated.</P
763 ><PRE
764 CLASS="programlisting"
765 >&#13;   % <SPAN
766 CLASS="bold"
767 ><B
768 CLASS="emphasis"
769 >tokens</B
770 ></SPAN
771 >
772    Tokens held by the Cache Manager:
773    User's (AFS ID 4562) tokens for afs@abc.com [Expires Jun 22 14:35]
774       --End of list--
775 </PRE
776 ></DIV
777 ><DIV
778 CLASS="sect2"
779 ><H2
780 CLASS="sect2"
781 ><A
782 NAME="Header_45"
783 >Example: Authenticating as a Another User</A
784 ></H2
785 ><P
786 >Now <SPAN
787 CLASS="bold"
788 ><B
789 CLASS="emphasis"
790 >terry</B
791 ></SPAN
792 > authenticates in his local cell as another user, <SPAN
793 CLASS="bold"
794 ><B
795 CLASS="emphasis"
796 >pat</B
797 ></SPAN
798 >. The new token replaces <SPAN
799 CLASS="bold"
800 ><B
801 CLASS="emphasis"
802 >terry</B
803 ></SPAN
804 >'s existing token, because the Cache
805       Manager can store only one token per cell per login session on a machine.</P
806 ><PRE
807 CLASS="programlisting"
808 >&#13;   % <SPAN
809 CLASS="bold"
810 ><B
811 CLASS="emphasis"
812 >klog pat</B
813 ></SPAN
814 >
815    Password: <VAR
816 CLASS="replaceable"
817 >pat's_password</VAR
818 >
819    % <SPAN
820 CLASS="bold"
821 ><B
822 CLASS="emphasis"
823 >tokens</B
824 ></SPAN
825 >
826    Tokens held by the Cache Manager:
827    User's (AFS ID 4278) tokens for afs@abc.com [Expires Jun 23 9:46]
828       --End of list--
829 </PRE
830 ></DIV
831 ><DIV
832 CLASS="sect2"
833 ><H2
834 CLASS="sect2"
835 ><A
836 NAME="Header_46"
837 >Example: Authenticating in a Foreign Cell</A
838 ></H2
839 ><P
840 >Now <SPAN
841 CLASS="bold"
842 ><B
843 CLASS="emphasis"
844 >terry</B
845 ></SPAN
846 > authenticates in the <SPAN
847 CLASS="bold"
848 ><B
849 CLASS="emphasis"
850 >stateu.edu</B
851 ></SPAN
852 > cell where
853       his account is called <SPAN
854 CLASS="bold"
855 ><B
856 CLASS="emphasis"
857 >ts09</B
858 ></SPAN
859 >.</P
860 ><PRE
861 CLASS="programlisting"
862 >&#13;   % <SPAN
863 CLASS="bold"
864 ><B
865 CLASS="emphasis"
866 >klog  ts09 -cell stateu.edu</B
867 ></SPAN
868 >
869    Password: <VAR
870 CLASS="replaceable"
871 >ts09's_password</VAR
872 >
873    % <SPAN
874 CLASS="bold"
875 ><B
876 CLASS="emphasis"
877 >tokens</B
878 ></SPAN
879 >
880    Tokens held by the Cache Manager:
881    User's (AFS ID 4562) tokens for afs@abc.com [Expires Jun 22 14:35]
882    User's (AFS ID 8346) tokens for afs@stateu.edu [Expires Jun 23  1:02]
883        --End of list--
884 </PRE
885 ></DIV
886 ><DIV
887 CLASS="sect2"
888 ><H2
889 CLASS="sect2"
890 ><A
891 NAME="HDRWQ31"
892 >Limits on Failed Authentication Attempts</A
893 ></H2
894 ><P
895 >Your system administrator can choose to limit the number of times that you fail to provide the correct password when
896       authenticating with AFS (using either an AFS-modified login utility or the <SPAN
897 CLASS="bold"
898 ><B
899 CLASS="emphasis"
900 >klog</B
901 ></SPAN
902 > command). If
903       you exceed the limit, the AFS authentication service refuses further authentication attempts for a period of time set by your
904       system administrator. The purpose of this limit is to prevent unauthorized users from breaking into your account by trying a
905       series of passwords.</P
906 ><P
907 >To determine if your user account is subject to this limit, ask your system administrator or issue the <SPAN
908 CLASS="bold"
909 ><B
910 CLASS="emphasis"
911 >kas examine</B
912 ></SPAN
913 > command as described in <A
914 HREF="c569.html#HDRWQ32"
915 >To Display Your Failed Authentication Limit
916       and Lockout Time</A
917 >.</P
918 ><P
919 >The following message indicates that you have exceeded the limit on failed authentication attempts.</P
920 ><PRE
921 CLASS="programlisting"
922 >&#13;   Unable to authenticate to AFS because ID is locked - see your system admin
923 </PRE
924 ></DIV
925 ><DIV
926 CLASS="sect2"
927 ><H2
928 CLASS="sect2"
929 ><A
930 NAME="HDRWQ32"
931 >To Display Your Failed Authentication Limit and Lockout Time</A
932 ></H2
933 ><P
934 >Issue the <SPAN
935 CLASS="bold"
936 ><B
937 CLASS="emphasis"
938 >kas examine</B
939 ></SPAN
940 > command to determine if there is a limit on the number of
941       unsuccessful authentication attempts for your user account and any associated lockout time. You can examine only your own
942       account. The fourth line of the output reports the maximum number of times you can provide an incorrect password before being
943       locked out of your account. The <SAMP
944 CLASS="computeroutput"
945 >lock time</SAMP
946 > field on the next line reports how long the AFS
947       authentication service refuses authentication attempts after the limit is exceeded.</P
948 ><PRE
949 CLASS="programlisting"
950 >&#13;   % <SPAN
951 CLASS="bold"
952 ><B
953 CLASS="emphasis"
954 >kas examine</B
955 ></SPAN
956 > <VAR
957 CLASS="replaceable"
958 >your_username</VAR
959 >
960    Password for <VAR
961 CLASS="replaceable"
962 >your_username</VAR
963 >: <VAR
964 CLASS="replaceable"
965 >your_AFS_password</VAR
966 >
967 </PRE
968 ><P
969 >The following example displays the output for the user <SPAN
970 CLASS="bold"
971 ><B
972 CLASS="emphasis"
973 >pat</B
974 ></SPAN
975 >, who is allowed nine failed
976       authentication attempts. The lockout time is 25.5 minutes.</P
977 ><PRE
978 CLASS="programlisting"
979 >&#13;   User data for pat
980     key (15) cksum is 3414844392,  last cpw: Thu Oct 21 16:05:44 1999
981     password will expire:  Fri Nov 26 20:44:36 1999
982     9 consecutive unsuccessful authentications are permitted.
983     The lock time for this user is 25.5 minutes.
984     User is not locked.
985     entry never expires. Max ticket lifetime 100.00 hours.
986     last mod on Wed Aug 18 08:22:29 1999 by admin
987     permit password reuse
988 </PRE
989 ></DIV
990 ></DIV
991 ><DIV
992 CLASS="sect1"
993 ><H1
994 CLASS="sect1"
995 ><A
996 NAME="HDRWQ33"
997 >Exiting an AFS Session</A
998 ></H1
999 ><P
1000 >Because logging in and authenticating with AFS are distinct operations, you must both logout and unauthenticate (issue the
1001     <SPAN
1002 CLASS="bold"
1003 ><B
1004 CLASS="emphasis"
1005 >unlog</B
1006 ></SPAN
1007 > command to discard your tokens) when exiting an AFS session. Simply logging out does not
1008     necessarily destroy your tokens.</P
1009 ><P
1010 >You can use the <SPAN
1011 CLASS="bold"
1012 ><B
1013 CLASS="emphasis"
1014 >unlog</B
1015 ></SPAN
1016 > command any time you want to unauthenticate, not just when logging
1017     out. For instance, it is a good practice to unauthenticate before leaving your machine unattended, to prevent other users from
1018     using your tokens during your absence. When you return to your machine, issue the <SPAN
1019 CLASS="bold"
1020 ><B
1021 CLASS="emphasis"
1022 >klog</B
1023 ></SPAN
1024 > command
1025     to reauthenticate, as described in <A
1026 HREF="c569.html#HDRWQ29"
1027 >To Authenticate with AFS</A
1028 >.</P
1029 ><P
1030 >Do not issue the <SPAN
1031 CLASS="bold"
1032 ><B
1033 CLASS="emphasis"
1034 >unlog</B
1035 ></SPAN
1036 > command when you are running jobs that take a long time to
1037     complete, even if you are logging out. Such processes must have a token during the entire time they need authenticated access to
1038     AFS.</P
1039 ><P
1040 >If you have tokens from multiple cells and want to discard only some of them, include the <SPAN
1041 CLASS="bold"
1042 ><B
1043 CLASS="emphasis"
1044 >unlog</B
1045 ></SPAN
1046 > command's <SPAN
1047 CLASS="bold"
1048 ><B
1049 CLASS="emphasis"
1050 >-cell</B
1051 ></SPAN
1052 > argument.</P
1053 ><DIV
1054 CLASS="sect2"
1055 ><H2
1056 CLASS="sect2"
1057 ><A
1058 NAME="Header_50"
1059 >To Discard Tokens</A
1060 ></H2
1061 ><P
1062 >Issue the <SPAN
1063 CLASS="bold"
1064 ><B
1065 CLASS="emphasis"
1066 >unlog</B
1067 ></SPAN
1068 > command to discard your tokens:</P
1069 ><PRE
1070 CLASS="programlisting"
1071 >&#13;   % <SPAN
1072 CLASS="bold"
1073 ><B
1074 CLASS="emphasis"
1075 >unlog -cell</B
1076 ></SPAN
1077 >  &#60;<VAR
1078 CLASS="replaceable"
1079 >cell name</VAR
1080 >&#62;<SUP
1081 >+</SUP
1082 >
1083 </PRE
1084 ><P
1085 >Omit the <SPAN
1086 CLASS="bold"
1087 ><B
1088 CLASS="emphasis"
1089 >-cell</B
1090 ></SPAN
1091 > argument to discard all of your tokens, or use it to name each cell for
1092       which to discard tokens. It is best to provide the full name of each cell (such as <SPAN
1093 CLASS="bold"
1094 ><B
1095 CLASS="emphasis"
1096 >stateu.edu</B
1097 ></SPAN
1098 >
1099       or <SPAN
1100 CLASS="bold"
1101 ><B
1102 CLASS="emphasis"
1103 >abc.com</B
1104 ></SPAN
1105 >).</P
1106 ><P
1107 >You can issue the <SPAN
1108 CLASS="bold"
1109 ><B
1110 CLASS="emphasis"
1111 >tokens</B
1112 ></SPAN
1113 > command to verify that your tokens were destroyed, as in the
1114       following example.</P
1115 ><PRE
1116 CLASS="programlisting"
1117 >&#13;   % <SPAN
1118 CLASS="bold"
1119 ><B
1120 CLASS="emphasis"
1121 >tokens</B
1122 ></SPAN
1123 >
1124    Tokens held by the Cache Manager:
1125       --End of list--
1126 </PRE
1127 ></DIV
1128 ><DIV
1129 CLASS="sect2"
1130 ><H2
1131 CLASS="sect2"
1132 ><A
1133 NAME="Header_51"
1134 >Example: Unauthenticating from a Specific Cell</A
1135 ></H2
1136 ><P
1137 >In the following example, a user has tokens in both the <SPAN
1138 CLASS="bold"
1139 ><B
1140 CLASS="emphasis"
1141 >accounting</B
1142 ></SPAN
1143 > and <SPAN
1144 CLASS="bold"
1145 ><B
1146 CLASS="emphasis"
1147 >marketing</B
1148 ></SPAN
1149 > cells at her company. She discards the token for the <SPAN
1150 CLASS="bold"
1151 ><B
1152 CLASS="emphasis"
1153 >acctg.abc.com</B
1154 ></SPAN
1155 > cell but keeps the token for the <SPAN
1156 CLASS="bold"
1157 ><B
1158 CLASS="emphasis"
1159 >mktg.abc.com</B
1160 ></SPAN
1161 >
1162       cell.</P
1163 ><PRE
1164 CLASS="programlisting"
1165 >&#13;   % <SPAN
1166 CLASS="bold"
1167 ><B
1168 CLASS="emphasis"
1169 >tokens</B
1170 ></SPAN
1171 >
1172    Tokens held by the Cache Manager:
1173    User's (AFS ID 35) tokens for afs@acctg.abc.com [Expires Nov 10 22:30]
1174    User's (AFS ID 674) tokens for afs@mktg.abc.com [Expires Nov 10 18:44]
1175       --End of list--
1176    % <SPAN
1177 CLASS="bold"
1178 ><B
1179 CLASS="emphasis"
1180 >unlog -cell acctg.abc.com</B
1181 ></SPAN
1182 >
1183    % <SPAN
1184 CLASS="bold"
1185 ><B
1186 CLASS="emphasis"
1187 >tokens</B
1188 ></SPAN
1189 >
1190    Tokens held by the Cache Manager:
1191    User's (AFS ID 674) tokens for afs@mktg.abc.com [Expires Nov 10 18:44]
1192       --End of list--
1193 </PRE
1194 ></DIV
1195 ><DIV
1196 CLASS="sect2"
1197 ><H2
1198 CLASS="sect2"
1199 ><A
1200 NAME="Header_52"
1201 >To Log Out</A
1202 ></H2
1203 ><P
1204 >After you have unauthenticated, log out by issuing the command appropriate for your machine type, which is possibly one
1205       of the following.</P
1206 ><PRE
1207 CLASS="programlisting"
1208 >&#13;   % <SPAN
1209 CLASS="bold"
1210 ><B
1211 CLASS="emphasis"
1212 >logout</B
1213 ></SPAN
1214 >
1215 </PRE
1216 ><P
1217 >or</P
1218 ><PRE
1219 CLASS="programlisting"
1220 >&#13;   % <SPAN
1221 CLASS="bold"
1222 ><B
1223 CLASS="emphasis"
1224 >exit</B
1225 ></SPAN
1226 >
1227 </PRE
1228 ><P
1229 >or</P
1230 ><PRE
1231 CLASS="programlisting"
1232 >&#13;   % &#60;<SPAN
1233 CLASS="bold"
1234 ><B
1235 CLASS="emphasis"
1236 >Ctrl-d</B
1237 ></SPAN
1238 >&#62;
1239 </PRE
1240 ></DIV
1241 ></DIV
1242 ><DIV
1243 CLASS="sect1"
1244 ><H1
1245 CLASS="sect1"
1246 ><A
1247 NAME="HDRWQ34"
1248 >Accessing the AFS Filespace</A
1249 ></H1
1250 ><P
1251 >While you are logged in and authenticated, you can access files in AFS just as you do in the UNIX file system. The only
1252     difference is that you can access potentially many more files. Just as in the UNIX file system, you can only access those files
1253     for which you have permission. AFS uses access control lists (ACLs) to control access, as described in <A
1254 HREF="c1444.html"
1255 >Protecting Your Directories and Files</A
1256 >.</P
1257 ><DIV
1258 CLASS="sect2"
1259 ><H2
1260 CLASS="sect2"
1261 ><A
1262 NAME="Header_54"
1263 >AFS Pathnames</A
1264 ></H2
1265 ><P
1266 >AFS pathnames look very similar to UNIX file system names. The main difference is that every AFS pathname begins with
1267       the AFS root directory, which is called <SPAN
1268 CLASS="bold"
1269 ><B
1270 CLASS="emphasis"
1271 >/afs</B
1272 ></SPAN
1273 > by convention. Having <SPAN
1274 CLASS="bold"
1275 ><B
1276 CLASS="emphasis"
1277 >/afs</B
1278 ></SPAN
1279 > at the top of every AFS cell's filespace links together their filespaces into a global filespace.
1280          </P
1281 ><P
1282 ><SPAN
1283 CLASS="bold"
1284 ><B
1285 CLASS="emphasis"
1286 >Note for Windows users:</B
1287 ></SPAN
1288 > Windows uses a backslash ( <SPAN
1289 CLASS="bold"
1290 ><B
1291 CLASS="emphasis"
1292 >\</B
1293 ></SPAN
1294 > ) rather than a forward slash ( <SPAN
1295 CLASS="bold"
1296 ><B
1297 CLASS="emphasis"
1298 >/</B
1299 ></SPAN
1300 > ) to separate the
1301       elements in a pathname. Otherwise, your access to AFS filespace is much the same as for users working on UNIX machines.</P
1302 ><P
1303 >The second element in AFS pathnames is generally a cell's name. For example, the ABC Corporation cell is called
1304       <SPAN
1305 CLASS="bold"
1306 ><B
1307 CLASS="emphasis"
1308 >abc.com</B
1309 ></SPAN
1310 > and the pathname of every file in its filespace begins with the string <SPAN
1311 CLASS="bold"
1312 ><B
1313 CLASS="emphasis"
1314 >/afs/abc.com</B
1315 ></SPAN
1316 >. Some cells also create a directory at the second level with a shortened name (such as
1317       <SPAN
1318 CLASS="bold"
1319 ><B
1320 CLASS="emphasis"
1321 >abc</B
1322 ></SPAN
1323 > for <SPAN
1324 CLASS="bold"
1325 ><B
1326 CLASS="emphasis"
1327 >abc.com</B
1328 ></SPAN
1329 > or <SPAN
1330 CLASS="bold"
1331 ><B
1332 CLASS="emphasis"
1333 >stateu</B
1334 ></SPAN
1335 >
1336       for <SPAN
1337 CLASS="bold"
1338 ><B
1339 CLASS="emphasis"
1340 >stateu.edu</B
1341 ></SPAN
1342 >), to reduce the amount of typing necessary. Your system administrator can tell
1343       you if your cell's filespace includes shortened names like this. The rest of the pathname depends on how the cell's
1344       administrators organized its filespace.</P
1345 ><P
1346 >To access directories and files in AFS you must both specify the correct pathname and have the required permissions on
1347       the ACL that protects the directory and the files in it.</P
1348 ></DIV
1349 ><DIV
1350 CLASS="sect2"
1351 ><H2
1352 CLASS="sect2"
1353 ><A
1354 NAME="Header_55"
1355 >Example: Displaying the Contents of Another User's Directory</A
1356 ></H2
1357 ><P
1358 >The user <SPAN
1359 CLASS="bold"
1360 ><B
1361 CLASS="emphasis"
1362 >terry</B
1363 ></SPAN
1364 > wants to look for a file belonging to another user, <SPAN
1365 CLASS="bold"
1366 ><B
1367 CLASS="emphasis"
1368 >pat</B
1369 ></SPAN
1370 >. He issues the <SPAN
1371 CLASS="bold"
1372 ><B
1373 CLASS="emphasis"
1374 >ls</B
1375 ></SPAN
1376 > command on the appropriate pathname.</P
1377 ><PRE
1378 CLASS="programlisting"
1379 >&#13;   % <SPAN
1380 CLASS="bold"
1381 ><B
1382 CLASS="emphasis"
1383 >ls /afs/abc.com/usr/pat/public</B
1384 ></SPAN
1385 >
1386    doc/                    directions/
1387    guide/                  jokes/
1388    library/
1389 </PRE
1390 ></DIV
1391 ><DIV
1392 CLASS="sect2"
1393 ><H2
1394 CLASS="sect2"
1395 ><A
1396 NAME="HDRWQ35"
1397 >Accessing Foreign Cells</A
1398 ></H2
1399 ><P
1400 >You can access files not only in your own cell, but in any AFS cell that you can reach via the network, regardless of
1401       geographical location. There are two additional requirements:
1402
1403       <UL
1404 ><LI
1405 ><P
1406 >Your Cache Manager's list of foreign cells must include the cell you want to access. Only the local superuser
1407           <SPAN
1408 CLASS="bold"
1409 ><B
1410 CLASS="emphasis"
1411 >root</B
1412 ></SPAN
1413 > can edit the list of cells, but anyone can display it. See <A
1414 HREF="c1095.html#HDRWQ42"
1415 >Determining Access to Foreign Cells</A
1416 >.</P
1417 ></LI
1418 ><LI
1419 ><P
1420 >The ACL on the directory that houses the file, and on every parent directory in the pathname, must grant you the
1421           necessary permissions. The simplest way for the directory's owner to extend permission to foreign users is to put an entry
1422           for the <SPAN
1423 CLASS="bold"
1424 ><B
1425 CLASS="emphasis"
1426 >system:anyuser</B
1427 ></SPAN
1428 > group on the ACL.</P
1429 ><P
1430 >The alternative is for the foreign cell's administrator to create an account for you, essentially making you a local
1431           user in the cell. The directory's owner creates an ACL entry for you as for any other local user. To authenticate in the
1432           foreign cell, issue the <SPAN
1433 CLASS="bold"
1434 ><B
1435 CLASS="emphasis"
1436 >klog</B
1437 ></SPAN
1438 > command with the <SPAN
1439 CLASS="bold"
1440 ><B
1441 CLASS="emphasis"
1442 >-cell</B
1443 ></SPAN
1444 >
1445           argument.</P
1446 ></LI
1447 ></UL
1448 >
1449 </P
1450 ><P
1451 >For further discussion of directory and file protection, see <A
1452 HREF="c1444.html"
1453 >Protecting Your Directories and
1454       Files</A
1455 >.</P
1456 ></DIV
1457 ></DIV
1458 ><DIV
1459 CLASS="sect1"
1460 ><H1
1461 CLASS="sect1"
1462 ><A
1463 NAME="HDRWQ36"
1464 >Changing Your Password</A
1465 ></H1
1466 ><P
1467 >In cells that use an AFS-modified login utility, the password is the same for both logging in and authenticating with AFS.
1468     In this case, you use a single command, <SPAN
1469 CLASS="bold"
1470 ><B
1471 CLASS="emphasis"
1472 >kpasswd</B
1473 ></SPAN
1474 >, to change the password.</P
1475 ><P
1476 >If your machine does not use an AFS-modified login utility, there are separate passwords for logging into the local file
1477     system and authenticating with AFS. (The two passwords can be the same or different, at your discretion.) In this case, use the
1478     <SPAN
1479 CLASS="bold"
1480 ><B
1481 CLASS="emphasis"
1482 >kpasswd</B
1483 ></SPAN
1484 > command to change your AFS password and the UNIX <SPAN
1485 CLASS="bold"
1486 ><B
1487 CLASS="emphasis"
1488 >passwd</B
1489 ></SPAN
1490 > command to change your UNIX password.</P
1491 ><P
1492 >Your system administrator can improve cell security by configuring several features that guide your choice of password.
1493     Keep them in mind when you issue the <SPAN
1494 CLASS="bold"
1495 ><B
1496 CLASS="emphasis"
1497 >kpasswd</B
1498 ></SPAN
1499 > command:
1500
1501     <UL
1502 ><LI
1503 ><P
1504 >Limiting the amount of time your password is valid. This improves your cell's security by limiting the amount of time
1505         an unauthorized user has to try to guess your password. Your system administrator needs to tell you when your password is
1506         due to expire so that you can change it in time. The administrator can configure the AFS-modified login utility to report
1507         this information automatically each time you log in. You can also use the <SPAN
1508 CLASS="bold"
1509 ><B
1510 CLASS="emphasis"
1511 >kas examine</B
1512 ></SPAN
1513 >
1514         command to display the password expiration date, as instructed in <A
1515 HREF="c569.html#HDRWQ37"
1516 >To Display Password Expiration
1517         Date and Reuse Policy</A
1518 >.</P
1519 ><P
1520 >You can change your password prior to the expiration date, but your system administrator can choose to set a minimum
1521         time between password changes. The following message indicates that the minimum time has not yet passed.</P
1522 ><PRE
1523 CLASS="programlisting"
1524 >&#13;   kpasswd:  password was not changed because you changed it too 
1525    recently; see your system administrator
1526 </PRE
1527 ></LI
1528 ><LI
1529 ><P
1530 >Enforcing password quality standards, such as a minimum length or inclusion of nonalphabetic characters. The
1531         administrator needs to tell you about such requirements so that you do not waste time picking unacceptable passwords.</P
1532 ></LI
1533 ><LI
1534 ><P
1535 >Rejecting a password that is too similar to the last 20 passwords you used. You can use the <SPAN
1536 CLASS="bold"
1537 ><B
1538 CLASS="emphasis"
1539 >kas
1540         examine</B
1541 ></SPAN
1542 > command to check whether this policy applies to you, as instructed in <A
1543 HREF="c569.html#HDRWQ37"
1544 >To Display
1545         Password Expiration Date and Reuse Policy</A
1546 >. The following message indicates that the password you have chosen is too
1547         similar to a previous password. <PRE
1548 CLASS="programlisting"
1549 >&#13;   kpasswd:  Password was not changed because it seems like a reused password
1550 </PRE
1551 ></P
1552 ></LI
1553 ></UL
1554 >
1555 </P
1556 ><DIV
1557 CLASS="sect2"
1558 ><H2
1559 CLASS="sect2"
1560 ><A
1561 NAME="HDRWQ37"
1562 >To Display Password Expiration Date and Reuse Policy</A
1563 ></H2
1564 ><P
1565 >Issue the <SPAN
1566 CLASS="bold"
1567 ><B
1568 CLASS="emphasis"
1569 >kas examine</B
1570 ></SPAN
1571 > command to display your password expiration date and reuse
1572       policy. You can examine only your own account. The third line of the output reports your password's expiration date. The last
1573       line reports the password reuse policy that applies to you.</P
1574 ><PRE
1575 CLASS="programlisting"
1576 >&#13;   % <SPAN
1577 CLASS="bold"
1578 ><B
1579 CLASS="emphasis"
1580 >kas examine</B
1581 ></SPAN
1582 > <VAR
1583 CLASS="replaceable"
1584 >your_username</VAR
1585 >
1586    Password for <VAR
1587 CLASS="replaceable"
1588 >your_username</VAR
1589 >: <VAR
1590 CLASS="replaceable"
1591 >your_AFS_password</VAR
1592 >
1593 </PRE
1594 ><P
1595 >The following example displays the output for the user <SPAN
1596 CLASS="bold"
1597 ><B
1598 CLASS="emphasis"
1599 >pat</B
1600 ></SPAN
1601 >.</P
1602 ><PRE
1603 CLASS="programlisting"
1604 >&#13;   User data for pat
1605     key (15) cksum is 3414844392,  last cpw: Thu Oct 21 16:05:44 1999
1606     password will expire:  Fri Nov 26 20:44:36 1999
1607     9 consecutive unsuccessful authentications are permitted.
1608     The lock time for this user is 25.5 minutes.
1609     User is not locked.
1610     entry never expires. Max ticket lifetime 100.00 hours.
1611     last mod on Wed Aug 18 08:22:29 1999 by admin
1612     don't permit password reuse
1613 </PRE
1614 ></DIV
1615 ><DIV
1616 CLASS="sect2"
1617 ><H2
1618 CLASS="sect2"
1619 ><A
1620 NAME="Header_59"
1621 >To Change Your AFS Password</A
1622 ></H2
1623 ><P
1624 >Issue the <SPAN
1625 CLASS="bold"
1626 ><B
1627 CLASS="emphasis"
1628 >kpasswd</B
1629 ></SPAN
1630 > command, which prompts you to provide your old and new passwords and
1631       to confirm the new password. The passwords do not echo visibly on the screen.</P
1632 ><PRE
1633 CLASS="programlisting"
1634 >&#13;   % <SPAN
1635 CLASS="bold"
1636 ><B
1637 CLASS="emphasis"
1638 >kpasswd</B
1639 ></SPAN
1640 >
1641    Old password: <VAR
1642 CLASS="replaceable"
1643 >current_password</VAR
1644 >
1645    New password (RETURN to abort): <VAR
1646 CLASS="replaceable"
1647 >new_password</VAR
1648 >
1649    Retype new password: <VAR
1650 CLASS="replaceable"
1651 >new_password</VAR
1652 >
1653 </PRE
1654 ></DIV
1655 ><DIV
1656 CLASS="sect2"
1657 ><H2
1658 CLASS="sect2"
1659 ><A
1660 NAME="Header_60"
1661 >To Change Your UNIX Password</A
1662 ></H2
1663 ><P
1664 >    Issue the UNIX <SPAN
1665 CLASS="bold"
1666 ><B
1667 CLASS="emphasis"
1668 >passwd</B
1669 ></SPAN
1670 > command, which prompts you to provide your old and new passwords and to confirm the new
1671       password. The passwords do not echo visibly on the screen. On many machines, the <SPAN
1672 CLASS="bold"
1673 ><B
1674 CLASS="emphasis"
1675 >passwd</B
1676 ></SPAN
1677 >
1678       resides in the <SPAN
1679 CLASS="bold"
1680 ><B
1681 CLASS="emphasis"
1682 >/bin</B
1683 ></SPAN
1684 > directory, and you possibly need to type the complete pathname.</P
1685 ><PRE
1686 CLASS="programlisting"
1687 >&#13;   % <SPAN
1688 CLASS="bold"
1689 ><B
1690 CLASS="emphasis"
1691 >passwd</B
1692 ></SPAN
1693 >
1694    Changing password for <VAR
1695 CLASS="replaceable"
1696 >username</VAR
1697 >.
1698    Old password: <VAR
1699 CLASS="replaceable"
1700 >current_password</VAR
1701 >
1702    New password: <VAR
1703 CLASS="replaceable"
1704 >new_password</VAR
1705 >
1706    Retype new passwd: <VAR
1707 CLASS="replaceable"
1708 >new_password</VAR
1709 >
1710 </PRE
1711 ></DIV
1712 ></DIV
1713 ></DIV
1714 ><DIV
1715 CLASS="NAVFOOTER"
1716 ><HR
1717 ALIGN="LEFT"
1718 WIDTH="100%"><TABLE
1719 SUMMARY="Footer navigation table"
1720 WIDTH="100%"
1721 BORDER="0"
1722 CELLPADDING="0"
1723 CELLSPACING="0"
1724 ><TR
1725 ><TD
1726 WIDTH="33%"
1727 ALIGN="left"
1728 VALIGN="top"
1729 ><A
1730 HREF="c113.html"
1731 ACCESSKEY="P"
1732 >Prev</A
1733 ></TD
1734 ><TD
1735 WIDTH="34%"
1736 ALIGN="center"
1737 VALIGN="top"
1738 ><A
1739 HREF="book1.html"
1740 ACCESSKEY="H"
1741 >Home</A
1742 ></TD
1743 ><TD
1744 WIDTH="33%"
1745 ALIGN="right"
1746 VALIGN="top"
1747 ><A
1748 HREF="c1095.html"
1749 ACCESSKEY="N"
1750 >Next</A
1751 ></TD
1752 ></TR
1753 ><TR
1754 ><TD
1755 WIDTH="33%"
1756 ALIGN="left"
1757 VALIGN="top"
1758 >An Introduction to AFS</TD
1759 ><TD
1760 WIDTH="34%"
1761 ALIGN="center"
1762 VALIGN="top"
1763 >&nbsp;</TD
1764 ><TD
1765 WIDTH="33%"
1766 ALIGN="right"
1767 VALIGN="top"
1768 >Displaying Information about AFS</TD
1769 ></TR
1770 ></TABLE
1771 ></DIV
1772 ></BODY
1773 ></HTML
1774 >