Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / kas_interactive.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3kas_interactive - Enters interactive mode
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<kas interactive>
11 S<<< [B<-admin_username> <I<admin principal to use for authentication>>] >>>
12 S<<< [B<-password_for_admin> <I<admin password>>] >>> S<<< [B<-cell> <I<cell name>>] >>>
13 S<<< [B<-servers> <I<explicit list of authentication servers>>+] >>>
14 [B<-noauth>] [B<-help>]
15
16B<kas i> S<<< [B<-a> <I<admin principal to use for authentication>>] >>>
17 S<<< [B<-p> <I<admin password>>] >>> S<<< [B<-c> <I<cell name>>] >>>
18 S<<< [B<-s> <I<explicit list of authentication servers>>+] >>> [B<-n>] [B<-h>]
19
20=for html
21</div>
22
23=head1 DESCRIPTION
24
25The B<kas interactive> command establishes an interactive session for the
26issuer of the command. By default, the command interpreter establishes an
27authenticated connection for the user logged into the local file system
28with all of the Authentication Servers listed in the local
29F</usr/vice/etc/CellServDB> file for the cell named in the local
30F</usr/vice/etc/ThisCell> file. To specify an alternate identity, cell
31name, or list of Authentication Servers, include the B<-admin_username>,
32B<-cell>, or B<-servers> arguments respectively. Interactive mode lasts
33for six hours unless the maximum ticket lifetime for the issuer or the
34Authentication Server's Ticket Granting Service is shorter.
35
36There are two other ways to enter interactive mode, in addition to the
37B<kas interactive> command:
38
39=over 4
40
41=item *
42
43Type the kas command at the shell prompt without any operation code. If
44appropriate, include one or more of the B<-admin_username>,
45B<-password_for_admin>, B<-cell>, and B<-servers> arguments.
46
47=item *
48
49Type the kas command followed by a user name and cell name, separated by
50an C<@> sign (for example: B<kas admin@example.com>), to establish a
51connection under the specified identity with the Authentication Servers
52listed in the local F</usr/vice/etc/CellServDB> file for the indicated
53cell. If appropriate, provide the B<-servers> argument to specify an
54alternate list of Authentication Server machines that belong to the
55indicated cell.
56
57=back
58
59There are several consequences of entering interactive mode:
60
61=over 4
62
63=item *
64
65The C<< ka> >> prompt replaces the system (shell) prompt. When typing
66commands at this prompt, provide only the operation code (omit the command
67suite name, B<kas>).
68
69=item *
70
71The command interpreter does not prompt for the issuer's password.
72
73The issuer's identity and password, the relevant cell, and the set of
74Authentication Server machines specified when entering interactive mode
75apply to all commands issued during the session. They cannot be changed
76without leaving the session, except by using the B<kas noauthentication>
77command to replace the current authenticated connections with
78unauthenticated ones. The B<-admin_username>, B<-password_for_admin>,
79B<-cell>, and B<-servers> arguments are ignored if provided on a command
80issued during interactive mode.
81
82=back
83
84To establish an unauthenticated connection to the Authentication Server,
85include the B<-noauth> flag or provide an incorrect password. Unless
86authorization checking is disabled on each Authentication Server machine
87involved, however, it is not possible to perform any privileged operations
88within such a session.
89
90To end the current authenticated connection and establish an
91unauthenticated one, issue the B<kas noauthentication> command. To leave
92interactive mode and return to the regular shell prompt, issue the B<kas
93quit> command.
94
95=head1 OPTIONS
96
97=over 4
98
99=item B<-admin_username> <I<admin principal>>
100
101Specifies the user identity under which to authenticate with the
102Authentication Server for execution of the command. For more details, see
103L<kas(8)>.
104
105=item B<-password_for_admin> <I<admin password>>
106
107Specifies the password of the command's issuer. If it is omitted (as
108recommended), the B<kas> command interpreter prompts for it and does not
109echo it visibly. For more details, see L<kas(8)>.
110
111=item B<-cell> <I<cell name>>
112
113Names the cell in which to run the command. For more details, see
114L<kas(8)>.
115
116=item B<-servers> <I<authentication servers>>+
117
118Names each machine running an Authentication Server with which to
119establish a connection. For more details, see L<kas(8)>.
120
121=item B<-noauth>
122
123Assigns the unprivileged identity C<anonymous> to the issuer. For more
124details, see L<kas(8)>.
125
126=item B<-help>
127
128Prints the online help for this command. All other valid options are
129ignored.
130
131=back
132
133=head1 EXAMPLES
134
135The following example shows a user entering interactive mode as the
136privileged user C<admin>.
137
138 % kas interactive admin
139 Password for admin: I<admin_password>
140 ka>
141
142=head1 PRIVILEGE REQUIRED
143
144None
145
146=head1 SEE ALSO
147
148L<kas(8)>,
149L<kas_noauthentication(8)>,
150L<kas_quit(8)>
151
152=head1 COPYRIGHT
153
154IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
155
156This documentation is covered by the IBM Public License Version 1.0. It was
157converted from HTML to POD by software written by Chas Williams and Russ
158Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.