rootpw

The rootpw Kickstart command is required. It sets the system’s root password to the password argument. Use this command only once.

Syntax

              rootpw [--iscrypted|--plaintext] [--lock] password
            
Mandatory options
  • password - Password specification. Either plain text or an encrypted string. See --iscrypted and --plaintext in the following options.
Optional options
  • --iscrypted - If this option is present, the password argument is assumed to already be encrypted. This option is mutually exclusive with --plaintext. To create an encrypted password, you can use python:
    $ python -c 'import crypt,getpass;pw=getpass.getpass();print(crypt.crypt(pw) if (pw==getpass.getpass("Confirm: ")) else exit())'

    This generates a sha512 crypt-compatible hash of your password by using a random salt.

  • --plaintext - If this option is present, the password argument is assumed to be in plain text. This option is mutually exclusive with --iscrypted.
  • --lock - If this option is present, the root account is locked by default. This means that the root user will not be able to log in from the console. This option will also disable the Root Password screens in both the graphical and text-based manual installation.
  • --allow-ssh - If this option is present, the root user can login to the system by using SSH with a password.