mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-11-26 21:10:36 +00:00
00be13634a
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
44 lines
1.2 KiB
Groff
44 lines
1.2 KiB
Groff
.TH "restorecond" "8" "2002031409" "" ""
|
|
.SH "NAME"
|
|
restorecond \- daemon that watches for file creation and then sets the default SELinux file context
|
|
|
|
.SH "SYNOPSIS"
|
|
.B restorecond [\-d] [-h] [\-f restorecond_file ] [\-u] [\-v]
|
|
.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.
|
|
.TP
|
|
. B \-h
|
|
Print usage statement.
|
|
.TP
|
|
.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)
|
|
|
|
.SH "AUTHOR"
|
|
This man page and program was written by Dan Walsh <dwalsh@redhat.com>.
|
|
|
|
.SH "FILES"
|
|
/etc/selinux/restorecond.conf
|
|
/etc/selinux/restorecond_user.conf
|
|
|
|
.SH "SEE ALSO"
|
|
.BR restorecon (8),
|