Bash Problem

Dawes, Stephen Stephen.Dawes at calgary.ca
Thu Apr 28 10:32:08 EDT 2005


Janina,

I ran into something like this awhile back. 
I did some research into my problem, and all I could attribute it to is
selinux. 
Everything that I read as a result of a google search on my error
pointed to selinux.
As soon as I turned selinux off all start working again. 
I discovered that my problem was not just only in a script that I was
writing at the time, but that it was also causing problems in scripts
that were working all along.
They all started working as they should as soon as I disabled selinux.

Now, to the how do you disable selinux.
There is a selinux config file in /etc/selinux.
Edit /etc/selinux/config and change the appropriate settings.

To help, here is what my /etc/selinux/config file looks like:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
# SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted 

Hope this solves your problem.


Steve Dawes
Phone: (403) 268-5527
Email: SDawes at calgary.ca
 
 


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.





More information about the Speakup mailing list