| 1 |
.TH "restorecond" "8" "2002031409" "" "" |
| 2 |
.SH "NAME" |
| 3 |
restorecond \- daemon that watches for file creation and then sets the default SELinux file context |
| 4 |
|
| 5 |
.SH "SYNOPSIS" |
| 6 |
.B restorecond [\-d] [-h] [\-f restorecond_file ] [\-u] [\-v] |
| 7 |
.P |
| 8 |
|
| 9 |
.SH "DESCRIPTION" |
| 10 |
This manual page describes the |
| 11 |
.BR restorecond |
| 12 |
program. |
| 13 |
.P |
| 14 |
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 |
| 15 |
the correct file context associated with the policy. |
| 16 |
|
| 17 |
.SH "OPTIONS" |
| 18 |
.TP |
| 19 |
.B \-d |
| 20 |
Turns on debugging mode. Application will stay in the foreground and lots of |
| 21 |
debugs messages start printing. |
| 22 |
.TP |
| 23 |
. B \-h |
| 24 |
Print usage statement. |
| 25 |
.TP |
| 26 |
.B \-f restorecond_file |
| 27 |
Use alternative restorecond.conf file. |
| 28 |
.TP |
| 29 |
.B \-u |
| 30 |
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. |
| 31 |
.TP |
| 32 |
.B \-v |
| 33 |
Turns on verbose debugging. (Report missing files) |
| 34 |
|
| 35 |
.SH "AUTHOR" |
| 36 |
This man page and program was written by Dan Walsh <[email protected]>. |
| 37 |
|
| 38 |
.SH "FILES" |
| 39 |
/etc/selinux/restorecond.conf |
| 40 |
/etc/selinux/restorecond_user.conf |
| 41 |
|
| 42 |
.SH "SEE ALSO" |
| 43 |
.BR restorecon (8), |