Re: Cannot login with SELinux tuned on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




You need to relabel the entire system if you are doing an upgrade.

make -c /etc/security/selinux/src/policy relabel

Igor N. Kolomiyets wrote:

Hi All!

I have a problem trying to log on with SELinux enforced.

Every time i'm typing a user name and password it prompts:

'Would you like to enter a security context? [y]'

This does not seem to be a proper behavior as in such case i cannot login from the graphic login screen at all. It always returns an error saying something like: 'Cannot load a default context'.

The system was upgraded from FC1 to FC2test. Then the following line was added to the /etc/security/selinux/src/policy/users file

user testuser roles { user_r };

Policy was rebuilt and reloaded as well as all files in the system were relabeled.

I also ran the following line

/usr/sbin/setfiles /etc/security/selinux/file_contexts /home

as suggested.

Can anybody point me in the right direction? What am i doing wrong? Any help, comments would be greatly appreciated.

Best regards,
Igor.


-- fedora-selinux-list mailing list fedora-selinux-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-selinux-list


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux