tpm2_takeownership(8)

NAME
tpm2_takeownership - Inserting authorization values for the ownerAuth, endorsementAuth, and lockoutAuth, if any passwd option is missing, assume NULL.

SYNOPSIS
tpm2_takeownership[ COMMON OPTIONS ] [ TCTI OPTIONS ] [ --ownerPasswd|--endorsePasswd|--lockPasswd|--oldOwnerPasswd|--oldEndorsePasswd|--oldLockPasswd|--passwdInHex|--clear| ]

Inserting authorization values for the ownerAuth, endorsementAuth, and lockoutAuth, if any passwd option is missing, assume NULL.

DESCRIPTION
tpm2_takeownership Inserting authorization values for the ownerAuth, endorsementAuth, and lockoutAuth, if any passwd option is missing, assume NULL.

OPTIONS

-o ,--ownerPasswd
    new Owner authorization value (string, optional, default:NULL).

-e ,--endorsePasswd
    new Endorsement authorization value (string, optional, default:NULL).

-l ,--lockPasswd
    new Lockout authorization value (string, optional, default:NULL).

-O ,--oldOwnerPasswd
    old Owner authorization (string, optional, default:NULL).

-E ,--oldEndorsePasswd
    old Endorsement authorization (string, optional, default:NULL).

-L ,--oldLockPasswd
    old Lockout authorization (string, optional, default:NULL).

-X ,--passwdInHex
    passwords given by any options are hex format

-c ,--clear
    [-L [-X]] clears the 3 authorizations values with lockout auth. @COMMON_OPTIONS_INCLUDE@ @TCTI_OPTIONS_INCLUDE@

ENVIRONMENT@TCTI_ENVIRONMENT_INCLUDE@

EXAMPLES
tpm2_takeownership

    Set ownerAuth, endorsementAuth and lockoutAuth to emptyAuth:
    tpm2_takeownership -c -L old
    Set ownerAuth, endorsementAuth and lockoutAuth to a newAuth:
    tpm2_takeownership -o new -e new -l new -O old -E old -L old
    tpm2_takeownership -o 2a2b2c -e 2a2b2c -l 2a2b2c -O 1a1b1c -E 1a1b1c -L 1a1b1c -X