---
name: "kas_create"
section: "8"
platform: "linux"
package: "openafs-kpasswd"
version: "1.6.20-2+deb9u2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/kas_create"
---

# kas\_create(8)

Creates an entry in the Authentication Database

## NAME

kas\_create - Creates an entry in the Authentication Database

## SYNOPSIS

**kas create** **-name** \<*name of user*\>\
     \[**-initial\_password** \<*initial password*\>\]\
     \[**-admin\_username** \<*admin principal to use for authentication*\>\]\
     \[**-password\_for\_admin** \<*admin password*\>\] \[**-cell** \<*cell name*\>\]\
     \[**-servers** \<*explicit list of authentication servers*\>+\]\
     \[**-noauth**\] \[**-help**\]

**kas c** **-na** \<*name of user*\> \[**-i** \<*initial password*\>\]\
     \[**-a** \<*admin principal to use for authentication*\>\]\
     \[**-p** \<*admin password*\>\] \[**-c** \<*cell name*\>\]\
     \[**-s** \<*explicit list of authentication servers*\>+\] \[**-no**\] \[**-h**\]

## DESCRIPTION

The **kas create** command creates an entry in the Authentication Database for the user named by the **-name** argument.

To avoid having the account's initial password echo visibly at the shell prompt, omit the **-initial\_password** argument; the command interpreter prompts for the password and does not echo it visibly.  Whether or not **-initial\_password** is omitted, the Authentication Server converts the password into a form suitable for use as an encryption key, and records it in the entry's key field.

To alter settings in an Authentication Database entry, use the **kas** **setfields** command. To examine an entry, use the **kas examine** command. To list every entry in the database, use the **kas list** command.

## OPTIONS

- **-name** \<*name of user*\>

  Names the new Authentication Database entry. Because it is the name under which the user logs in, it must obey the restrictions that many operating systems impose on user names (usually, to contain no more than eight lowercase letters).

- **-initial\_password** \<*initial password*\>

  Sets the user's password; provide a character string that can include uppercase and lowercase letters, numerals and punctuation. The Authentication Server scrambles the string into an octal string suitable for use as an encryption key before placing it in the entry's key field. If this argument is omitted, the command interpreter prompts for the string and does not echo it visibly.

- **-admin\_username** \<*admin principal*\>

  Specifies the user identity under which to authenticate with the Authentication Server for execution of the command. For more details, see [*kas*(8)](/kas/8.md).

- **-password\_for\_admin** \<*admin password*\>

  Specifies the password of the command's issuer. If it is omitted (as recommended), the **kas** command interpreter prompts for it and does not echo it visibly. For more details, see [*kas*(8)](/kas/8.md).

- **-cell** \<*cell name*\>

  Names the cell in which to run the command. For more details, see [*kas*(8)](/kas/8.md).

- **-servers** \<*authentication servers*\>

  Names each machine running an Authentication Server with which to establish a connection. For more details, see [*kas*(8)](/kas/8.md).

- **-noauth**

  Assigns the unprivileged identity `"anonymous"` to the issuer. For more details, see [*kas*(8)](/kas/8.md).

- **-help**

  Prints the online help for this command. All other valid options are ignored.

## EXAMPLES

The following example shows the prompts that appear when an administrator logged in as `"admin"` creates an Authentication Database entry for the user `"smith"`, and does not include either the **-initial\_password** or **-password\_for\_admin** arguments.

```
   % kas create smith
   Password for admin:
   initial_password:
   Verifying, please re-enter initial_password:
```

## PRIVILEGE REQUIRED

The issuer must have the `"ADMIN"` flag set on his or her Authentication Database entry.

## SEE ALSO

[*kas*(8)](/kas/8.md), [*kas\_examine*(8)](/kas_examine/8.md), [*kas\_list*(8)](/kas_list/8.md), [*kas\_setfields*(8)](/kas_setfields/8.md)

## COPYRIGHT

IBM Corporation 2000. \<http://www.ibm.com/\> All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
