Policycoreutils-scripts patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add man page for genhomedircon
Fix python scripts to use -Es
- -s stops python scripts from trying to read ~/.local directory for shared libraries.
Fixfiles:
Added exclude_dirs to check if dirs exist and then exclude them from restorecon call. Add /var/lib/BackupPC to exclude list
Instead of excluding mounts based on hard coded types, I now look for labeled in the /proc/self/mounts file
Use modern find command to delete files
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk0Ga2cACgkQrlYvE4MpobNI8QCgm6vBA436RQndT603VUiJH2sb oFEAoNt7WcOtspgYu8V3/OIpfpVLzx+W
=dfWL
-----END PGP SIGNATURE-----
policycoreutils/scripts/Makefile +1 -0
@@ -14,6 +14,7 @@ install: all install -m 755 genhomedircon $(SBINDIR) -mkdir -p $(MANDIR)/man8 install -m 644 fixfiles.8 $(MANDIR)/man8/ + install -m 644 genhomedircon.8 $(MANDIR)/man8/ install -m 644 chcat.8 $(MANDIR)/man8/ clean:
policycoreutils/scripts/chcat +1 -1
@@ -1,4 +1,4 @@ -#! /usr/bin/python -E +#! /usr/bin/python -Es # Copyright (C) 2005 Red Hat # see file 'COPYING' for use and warranty information #
policycoreutils/scripts/fixfiles +25 -29
94 lines not on this page · raw message
policycoreutils/scripts/genhomedircon.8 new file +37 -0
@@ -0,0 +1,37 @@ +.\" Hey, Emacs! This is an -*- nroff -*- source file. +.\" Copyright (c) 2010 Dan Walsh <[email protected]> +.\" +.\" This is free documentation; you can redistribute it and/or +.\" modify it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2 of +.\" the License, or (at your option) any later version. +.\" +.\" The GNU General Public License's references to "object code" +.\" and "executables" are to be interpreted as the output of any +.\" document formatting or typesetting system, including +.\" intermediate and printed output. +.\" +.\" This manual is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public +.\" License along with this manual; if not, write to the Free +.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, +.\" USA. +.\" +.\" +.TH GENHOMEDIRCON "8" "May 2010" "Security Enhanced Linux" "SELinux" +.SH NAME +genhomedircon \- generate SELinux file context configuration entries for user home directories +.SH SYNOPSIS +.B genhomedircon +is a script that executes semodule to rebuild policy and create the +labels for HOMEDIRS based on home directories returned by the getpw calls. + +This functionality is enabled via the usepasswd flag in /etc/selinux/semanage.conf. + +.SH AUTHOR +This manual page was written by +.I Dan Walsh <[email protected]>