7675 New script for changing selinux file labels on perl scripts
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 8 Mar 2012 13:36:42 +0000 (14:36 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 14 Sep 2012 15:17:04 +0000 (17:17 +0200)
commit7571a0e48be4e709b00257a7b7e0d91716ece7de
tree502455b74edf8f7144a2b3145bd402448edb9d81
parentd09b2ecb52f719951b0efb6b7a66c9817ef54baf
7675 New script for changing selinux file labels on perl scripts

On some Linux distributions like RedHat, Fedora, CentOS you can use SELinux for enhanced security. Among others, this involves file labeling (security context). In other distributions SELinux can be installed additionally.

The attached script lets you update and restore such labels on the perl scripts in a Koha installation.

July 18, 2012: Added opac/svc.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/bin/set-selinux-labels.sh [new file with mode: 0755]