mkseckrb5 Command

Purpose

Migrates existing operating system users to Kerberos.

Syntax

mkseckrb5 [ -h | [ -r ] [user_name... ] ]

Description

This command gets the list of user names and creates Kerberos users. If the -r flag is not specified, the command prompts for a new password for each user.

Item Description
Standard Output Consists of information messages when the -h flag is used.
Standard Error Consists of error messages when the command cannot complete successfully.

Flags

Item Description
-h Specifies that the command is only to display the valid command syntax.
-r Specifies that random passwords are to be used.

Exit Status

Failure of this command to execute successfully results in incomplete migration. The admin must check the Kerberos database for the users that were migrated before taking further action.

Item Description
0 Indicates the successful completion of the command.
1 Indicates that an error occurred.

Security

Only the root user is authorized to use this command.

Examples

  1. To display the command syntax, type:
    mkseckrb5 -h
  2. To migrate existing users to Kerberos users, type:
    mkseckrb5
  3. To migrate user trojan to Kerberos user with random passwd, type:
    mkseckrb5 -r trojan

Files

Item Description
/usr/sbin/mkseckrb5 Contains the mkseckrb5 command.