Code: Select all
setsebool -P authlogin_yubikey on
Code: Select all
ssh logins:
[Cent-7:root@my_server home]# getsebool authlogin_yubikey
authlogin_yubikey --> off
[Cent-7:root@my_server home]# setsebool -P authlogin_yubikey on
libsepol.context_from_record: type gpio_device_t is not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert system_u:object_r:gpio_device_t:s0 to sid
invalid context system_u:object_r:gpio_device_t:s0
[Cent-7:root@my_server home]# getsebool authlogin_yubikey
authlogin_yubikey --> on
[Cent-7:root@my_server home]# reboot
[Cent-7:root@my_server home]# getsebool authlogin_yubikey
authlogin_yubikey --> off