Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

restorecond(8) [debian man page]

restorecond(8)															    restorecond(8)

NAME
restorecond - daemon that watches for file creation and then sets the default SELinux file context SYNOPSIS
restorecond [-d] [-f restorecond_file ] [-u] [-v] DESCRIPTION
This manual page describes the restorecond program. This daemon uses inotify to watch files listed in the /etc/selinux/restorecond.conf, when they are created, this daemon will make sure they have the correct file context associated with the policy. OPTIONS
-d Turns on debugging mode. Application will stay in the foreground and lots of debugs messages start printing. -f restorecond_file Use alternative restorecond.conf file. -u Turns on user mode. Runs restorecond in the user session and reads /etc/selinux/restorecond_user.conf. Uses dbus to make sure only one restorecond is running per user session. -v Turns on verbose debugging. (Report missing files) AUTHOR
This man page and program was written by Dan Walsh <dwalsh@redhat.com>. FILES
/etc/selinux/restorecond.conf /etc/selinux/restorecond_user.conf SEE ALSO
restorecon(8), 2002031409 restorecond(8)

Check Out this Related Man Page

sestatus(8)						SELinux command line documentation					       sestatus(8)

NAME
sestatus - SELinux status tool SYNOPSIS
sestatus [-v] [-b] This tool is used to get the status of a system running SELinux. DESCRIPTION
This manual page describes the sestatus program. This tool is used to get the status of a system running SELinux. It displays data about whether SELinux is enabled or disabled, location of key directories, and the loaded policy with its status as shown in the example: > sestatus SELinux status: enabled SELinuxfs mount: /selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: permissive Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allow Max kernel policy version: 26 sestatus can also be used to display: - The security context of files and processes listed in the /etc/sestatus.conf file. The format of this file is described in ses- tatus.conf(5). - The status of booleans. OPTIONS
-v Displays the contexts of files and processes listed in the /etc/sestatus.conf file. It also checks whether the file is a symbolic link, if so then the context of the target file is also shown. The following contexts will always be displayed: The current process context The init process context The controlling terminal file context -b Display the current state of booleans. FILES
/etc/sestatus.conf AUTHOR
This man page was written by Daniel Walsh <dwalsh@redhat.com>. The program was written by Chris PeBenito <pebenito@gentoo.org> SEE ALSO
selinux(8), sestatus.conf(5) Security Enhanced Linux 26 Nov 2011 sestatus(8)
Man Page