2008-08-19 21:30:36 +02:00
.TH "restorecond" "8" "2002031409" "" ""
.SH "NAME"
restorecond \- daemon that watches for file creation and then sets the default SELinux file context
.SH "SYNOPSIS"
2012-01-24 17:22:43 +01:00
.B restorecond [\-d] [-h] [\-f restorecond_file ] [\-u] [\-v]
2008-08-19 21:30:36 +02:00
.P
.SH "DESCRIPTION"
This manual page describes the
.BR restorecond
program.
.P
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.
.SH "OPTIONS"
.TP
.B \- d
Turns on debugging mode. Application will stay in the foreground and lots of
debugs messages start printing.
2011-08-03 17:40:47 +02:00
.TP
2012-01-24 17:22:43 +01:00
. B \- h
Print usage statement.
.TP
2011-08-03 17:40:47 +02:00
.B \- f restorecond_file
Use alternative restorecond.conf file.
.TP
.B \- 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.
.TP
.B \- v
Turns on verbose debugging. (Report missing files)
2008-08-19 21:30:36 +02:00
.SH "AUTHOR"
2011-08-03 17:40:47 +02:00
This man page and program was written by Dan Walsh <dwalsh@redhat.com>.
2008-08-19 21:30:36 +02:00
.SH "FILES"
/etc/selinux/restorecond.conf
2011-08-03 17:40:47 +02:00
/etc/selinux/restorecond_user.conf
2008-08-19 21:30:36 +02:00
.SH "SEE ALSO"
.BR restorecon (8),