added button GIF's to the HTML docs
[openafs.git] / doc / html / AdminReference / auarf183.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf182.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf184.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
17 <P>
18 <H2><A NAME="HDRKAS_CREATE" HREF="auarf002.htm#ToC_197">kas create</A></H2>
19 <A NAME="IDX5073"></A>
20 <A NAME="IDX5074"></A>
21 <A NAME="IDX5075"></A>
22 <A NAME="IDX5076"></A>
23 <A NAME="IDX5077"></A>
24 <P><STRONG>Purpose</STRONG>
25 <P>Creates an entry in the Authentication Database
26 <P><STRONG>Synopsis</STRONG>
27 <PRE><B>kas create -name</B> &lt;<VAR>name&nbsp;of&nbsp;user</VAR>>  [<B>-initial_password</B> &lt;<VAR>initial&nbsp;password</VAR>>] 
28            [<B>-admin_username</B> &lt;<VAR>admin&nbsp;principal&nbsp;to&nbsp;use&nbsp;for&nbsp;authentication</VAR>>] 
29            [<B>-password_for_admin</B> &lt;<VAR>admin&nbsp;password</VAR>>]  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>] 
30            [<B>-servers</B> &lt;<VAR>explicit&nbsp;list&nbsp;of&nbsp;authentication&nbsp;servers</VAR>><SUP>+</SUP>]  
31            [<B>-noauth</B>]  [<B>-help</B>]
32    
33 <B>kas c -na</B> &lt;<VAR>name&nbsp;of&nbsp;user</VAR>>  [<B>-i</B> &lt;<VAR>initial&nbsp;password</VAR>>] 
34       [<B>-a</B> &lt;<VAR>admin&nbsp;principal&nbsp;to&nbsp;use&nbsp;for&nbsp;authentication</VAR>>]  
35       [<B>-p</B> &lt;<VAR>admin&nbsp;password</VAR>>]  [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  
36       [<B>-s</B> &lt;<VAR>explicit&nbsp;list&nbsp;of&nbsp;authentication&nbsp;servers</VAR>><SUP>+</SUP>]  [<B>-no</B>]  [<B>-h</B>] 
37 </PRE>
38 <P><STRONG>Description</STRONG>
39 <P>The <B>kas create</B> command creates an entry in the Authentication
40 Database for the user named by the <B>-name</B> argument.
41 <P>To avoid having the account's initial password echo visibly at the
42 shell prompt, omit the <B>-initial_password</B> argument; the command
43 interpreter prompts for the password and does not echo it visibly.
44 Whether or not <B>-initial_password</B> is omitted, the Authentication
45 Server converts the password into a form suitable for use as an encryption
46 key, and records it in the entry's key field.
47 <P>To alter settings in an Authentication Database entry, use the <B>kas
48 setfields</B> command. To examine an entry, use the <B>kas
49 examine</B> command. To list every entry in the database, use the
50 <B>kas list</B> command.
51 <P><STRONG>Options</STRONG>
52 <DL>
53 <P><DT><B>-name
54 </B><DD>Names the new Authentication Database entry. Because it is the name
55 under which the user logs in, it must obey the restrictions that many
56 operating systems impose on user names (usually, to contain no more than eight
57 lowercase letters).
58 <P><DT><B>-initial_password
59 </B><DD>Sets the user's password; provide a character string that can
60 include uppercase and lowercase letters, numerals and punctuation. The
61 Authentication Server scrambles the string into an octal string suitable for
62 use as an encryption key before placing it in the entry's key
63 field. If this argument is omitted, the command interpreter prompts for
64 the string and does not echo it visibly.
65 <P><DT><B>-admin_username
66 </B><DD>Specifies the user identity under which to authenticate with the
67 Authentication Server for execution of the command. For more details,
68 see the introductory <B>kas</B> reference page.
69 <P><DT><B>-password_for_admin
70 </B><DD>Specifies the password of the command's issuer. If it is
71 omitted (as recommended), the <B>kas</B> command interpreter prompts for
72 it and does not echo it visibly. For more details, see the introductory
73 <B>kas</B> reference page.
74 <P><DT><B>-cell
75 </B><DD>Names the cell in which to run the command. For more details, see
76 the introductory <B>kas</B> reference page.
77 <P><DT><B>-servers
78 </B><DD>Names each machine running an Authentication Server with which to
79 establish a connection. For more details, see the introductory
80 <B>kas</B> reference page.
81 <P><DT><B>-noauth
82 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
83 issuer. For more details, see the introductory <B>kas</B> reference
84 page.
85 <P><DT><B>-help
86 </B><DD>Prints the online help for this command. All other valid options
87 are ignored.
88 </DL>
89 <P><STRONG>Examples</STRONG>
90 <P>The following example shows the prompts that appear when an administrator
91 logged in as <B>admin</B> creates an Authentication Database entry for the
92 user <B>smith</B>, and does not include either the
93 <B>-initial_password</B> or <B>-password_for_admin</B>
94 arguments.
95 <PRE>   % <B>kas create smith</B>
96    Password for admin: 
97    initial_password:
98    Verifying, please re-enter initial_password:
99    
100 </PRE>
101 <P><STRONG>Privilege Required</STRONG>
102 <P>The issuer must have the <TT>ADMIN</TT> flag set on his or her
103 Authentication Database entry.
104 <P><STRONG>Related Information</STRONG>
105 <P><A HREF="auarf181.htm#HDRKAS_INTRO">kas</A>
106 <P><A HREF="auarf185.htm#HDRKAS_EXAMINE">kas examine</A>
107 <P><A HREF="auarf189.htm#HDRKAS_LIST">kas list</A>
108 <P><A HREF="auarf193.htm#HDRKAS_SETFIELDS">kas setfields</A>
109 <P>
110 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf182.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf184.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
111 <!-- Begin Footer Records  ========================================== -->
112 <P><HR><B> 
113 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
114 </B> 
115 <!-- End Footer Records  ============================================ -->
116 <A NAME="Bot_Of_Page"></A>
117 </BODY></HTML>