Re: Find MAC Address in PHP

From: Date: Tue, 24 Apr 2007 19:28:31 +0000
Subject: Re: Find MAC Address in PHP
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-253617@lists.php.net to get a copy of this message
Nathaniel Hall wrote:
Davi wrote: I know it can be done because I have a Fedora Core 4 system doing it right now. I didn't have to do anything special for it to work. The system I am working on now is a Fedora Core 6 box. In /var/log/messages I receive: Apr 24 09:33:51 STUAUTH kernel: audit(1177425231.020:114): avc: denied { execute } for pid=31786 comm="httpd" name="bash" dev=dm-0 ino=916642 scontext=root:system_r:httpd_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file The avc: message means its SELinux, as you suspected. You need to temporary disable the firewall by setting it to permissive, then use audit2allow to find out what the settings need to be to set up the permissions properly. Look up audit2allow in the man page - they describe the process in there.
Lori

« previous php.general (#253617) next »