tpm2-tss/60-tpm-udev.rules
Javier Martinez Canillas 075fc2f0d3
Install udev rule for TPM character devices
The udev rules to change the ownership and access permission for the TPM2
character devices is installed by the tpm2-abrmd package. But users could
want to use the TPM2 device without the userspace tpm2-abrmd, for example
by using the in-kernel resource manager or accessing the device directly.

In those cases they may not install the tpm2-abrmd package but still want
the correct user, group and permissions set in the TPM2 character device,
so let's do that in the tpm2-tss package instead that is always required.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-02-23 15:28:14 +01:00

3 lines
139 B
Plaintext

# tpm2 devices can be accessed by the tss user or tss group members
KERNEL=="tpmrm[0-9]*|tpm[0-9]*", MODE="0660", OWNER="tss", GROUP="tss"