tpm_setpresence(8)
π tpm_setpresence β bestie's guide to TPM physical presence π
okay so this is tpm_setpresence(8) from the System Manager's Manual, aka the little tool that tells your TPM who's actually standing at the machine π«Ά
β¨ NAME β¨
tpm_setpresence β change TPM physical presence states or settings
β¨ SYNOPSIS β¨
tpm_setpresence [OPTION]
β¨ DESCRIPTION β¨
so like, tpm_setpresence reports the status of the TPM's flags regarding physical presence. that's the default behavior, no cap, and you can also get there with the --status option. heads up tho: asking for a report of this status prompts for the owner password π
then we got the vibe-switchers:
--assertchanges the TPM to the physically present state β--clearchanges the TPM to the not present state β--locklocks the TPM to the current physical presence state for the current boot cycle π--enable-cmdlets the TPM accept local commands to toggle physical presence states--disable-cmdstops the TPM from accepting local commands to toggle physical presence states--enable-hwlets the TPM accept hardware signals to toggle physical presence states--disable-hwstops the TPM from accepting hardware signals to toggle physical presence states--set-lifetime-locklocks the Command and Hardware enablement flags in their current state permanently. this option can never be undone. π
before it does the thing, the system will attempt to use the owner password to display the current states β unless you pass --yes to answer yes to all questions.
and fr, all changes are made with the TSC_Physical Presence API. periodt.
β¨ OPTIONS β¨
-h,--helpβ display command usage info π-v,--versionβ display command version info π·οΈ-l,--log [none|error|info|debug]β set logging level π-u,--unicodeβ use TSS UNICODE encoding for passwords, so it plays nice with applications using TSS popup boxes π-s,--statusβ report current physical presence states π-a,--assertβ assert that an admin is physically present at the machine πβοΈ-c,--clearβ remove the assertion that an admin is physically present at the machine π§Ή--lockβ lock the assertions of physical presence in there current states until a reboot π--enable-cmdβ allow use of commands to signal an admin is physically present π¬--disable-cmdβ disallow use of commands to signal an admin is physically present π«--enable-hwβ allow use of hardware signals to signal an admin is physically present π--disable-hwβ disallow use of hardware signals to signal an admin is physically present β--set-lifetime-lockβ allow no further changes to the flags controling how physical presence can be signaled. this is PERMANENT. π-y,--yesβ answer yes to all questions. only applicable with--set-lifetime-lockπ«‘-z,--well-knownβ authenticate using 20 bytes of zeros as owner password (the default TSS Well Known Secret), instead of prompting for an owner password π
bestie, real talk: --set-lifetime-lock is forever. like, no undo button, no take-backs, nothing. read twice, run once. π
πΈ SEE ALSO πΈ
tpm_version(1), tpm_setenable(8), tpm_setactive(8), tpm_setownable(8), tcsd(8)
π REPORTING BUGS π
report bugs to <trousers-users@lists.sourceforge.net> β they wanna hear from you π
k bye bestie, go assert your presence (physically) β¨ this was TPM Management, dated 2005-05-06, serving absolute tpm_setpresence(8) realness. slay. π
π¦ where this page comes from
- debian bookworm: tpm-tools 1.3.9.2-0.1 Β· CPL
- debian trixie: tpm-tools 1.3.9.2-0.2 Β· CPL
- fedora 43: tpm-tools 1.3.9.2-5.fc43 Β· CPL-1.0
- fedora 43: tpm-tools 1.3.9.2-5.fc43 Β· CPL-1.0
- fedora 44: tpm-tools 1.3.9.2-6.fc44 Β· CPL-1.0
- fedora 44: tpm-tools 1.3.9.2-6.fc44 Β· CPL-1.0
- nixos 26.05: tpm-tools 1.3.9.2
- nixpkgs unstable: tpm-tools 1.3.9.2
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- ubuntu noble: tpm-tools 1.3.9.2-0.2build2 Β· CPL
- ubuntu questing: tpm-tools 1.3.9.2-0.2build2
- ubuntu resolute: tpm-tools 1.3.9.2-0.2build3 Β· CPL
- ubuntu stonking: tpm-tools 1.3.9.2-0.2build4 Β· CPL
- Copyright (C) 2005 International Business Machines Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms