1

Where are the booleans for SELinux stored?

view story
linux-howto

http://www.linuxquestions.org – Hello: I always thought that whenever /usr/sbin/setsebool was used, it would write either a "0" or a "1" into the corresponding boolean file. All SELinux boolean files are in /selinux/booleans but If I check, for example, this boolean ... $ sudo /usr/sbin/getsebool ftp_home_dir ftp_home_dir --> on It returns a positive, but if I do $ sudo less /selinux/booleans/ftp_home_dir I get ... read error (Press Return) Furthermore, if I list the boolean file itself, it shows it to be empty $ sudo ls -l /selinux/booleans/ftp_home_dir -rw-r--r-- 1 root root 0 Aug 9 11:09 /se (HowTos)