Re: Best way to get started?

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

 



Aleksey Nogin wrote:

On 06.03.2004 13:59, James Morris wrote:


What I've done is start with FC2T1, then yum upgrade policy-sources, policycoreutils, checkpolicy, libselinux, libselinux-devel. Boot into single user mode, then:


cd /etc/security/selinux/src/policy make make relabel


Is policy-sources really necessary (if I just want to test the standard default policies)? What I did is installed policycoreutils and policy, and run


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

You want to run setfiles on all ext3 file systems
setfiles /etc/security/selinux/file_contexts `mount | awk '/(ext[23]| xfs).*rw/{print $$3}'`



/usr/sbin/load_policy /etc/security/selinux/policy.15

and rebooted. Would the above have the same effect as using policy-sources?




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

  Powered by Linux