Basically, this script is for creating a user's home directory, if it does not already exist. I found some Redhat documentation that says to put samba scripts (preexec, root preexec, etc) in /var/lib/samba/scripts/. This directory did not exist, so I created it and ran "sudo /sbin/restorecon -R -v /var/lib/samba/scripts" (as per the same documenation), and then copied my script in there.
The script does not run, but if I disable selinux and reboot, then the script does run. Any help?
The script does not run, but if I disable selinux and reboot, then the script does run. Any help?