successfull avc_toggle
I can go into enforcing mode mode now without being logged out. The policy is too restrictive though and i added some allow lines to the policy.
domains/admin.te:
allow sysadm_t getty_t:fd { use };
allow sysadm_t devfs_t:chr_file { getattr };
domains/programs/getty.te:
allow getty_t devtty_t:lnk_file { read };
is this ok?
ordiinary user can not login yet. root can use ssh.
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · Debian User
I can go into enforcing mode mode now without being logged out. The policy is too restrictive though and i added some allow lines to the policy.
domains/admin.te:
allowsysadm_tgetty_t:fd { use };
Make sure that your login program is labeled correctly (the program should be labeled login_exec_t and the process should run in local_login_t). It is possible that your login process is being left in getty_t if it isn't labeled correctly.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.