I am completely new to selinux (I have experience with apparmor), I ask for help with the program /urs/bin/login
it works in the context [system_u:system_r:local_login_t]
user context [user_u:user_r:user_t]
in theory all users (default context) should be able to login via tty,
set up for myself, my home pc
when trying to log into the user (tty) after entering the name, the process crashes (no access)
using audit2allow I found out what was missing (added to this point):
there was a message:
'libsepol.sepol_string_to_security_class: unrecognized class (null)'
I am completely new to selinux (I have experience with
apparmor
), I ask for help with the program/urs/bin/login
it works in the context [system_u:system_r:local_login_t
] user context [user_u:user_r:user_t
]in theory all users (default context) should be able to login via
tty
, set up for myself, my home pcwhen trying to log into the user (
tty
) after entering the name, the process crashes (no access) usingaudit2allow
I found out what was missing (added to this point): there was a message: 'libsepol.sepol_string_to_security_class: unrecognized class (null)
'and further
how is this possible and what to do in such cases? null-class