Dear All,
I have one of my Servers, running Solaris 9.
I have a php script that generates an selinux avc denial when it tries to exec a bash script.
Here is the alert:
Code:
SELinux is preventing /usr/bin/bash from execute access on the file /opt/cps/rcm/upsample.
...
You can generate a local policy module to dontaudit this access.
Do
# grep /usr/bin/bash /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp
...
S
On my YUM server I have this RPM ...
redcricket@rpo-dev:/usr/RED/docs/yum/CEL6/RIE$ rpm -q --filesbypkg -p development/RPMS/ooo-audit-1.0-10.noarch.rpm
ooo-audit /apps/RED/red_apps/server/ooo-audit.pl
...
Hello, I want to install piwik and have some questions about Slackware PHP,MYSQL options.
I'd configure my Apache, PHP, Mysql from
how-to-run-apache-php-mysql-on-startup-and-install-phpmyadmin-slackware-12-2, but have Slackware 13.1
PDO and MYSQLI are already in my php.ini.
Code:
extension=bcmath.so
extension=bz2.so
extension=calendar.so
extension=ctype.so
extension=curl.so
extension=dba.so
e
How about auto editing the info file? this can be done for the size and the extension name...Change Title field:Code:sed -i 's!^Title:.*$!Title:\t\t$F!' $F.infoChange Size field:[code]sed -i 's!^Size:.*$!Size:\t\t`du -h $F | cut -f 1`!' $F....
I have a bash script which I'm trying to get to replace dots in filenames and replace them with underscores, leaving the extension intact (I'm on Centos 6 btw). As you can see from the output below, the script works when there is a dot to replace, but in cases where the only dot is the extension, the script still tries to rename the file, instead of ignoring it.
I want to create a bash completion script which recognises arguments of the form --arg and --some-arg=file.
After reading this tutorial and some examples in /usr/share/bash_completion/completions/, I've written the following script (to save time at typing some flags with Chromium):
_chromium()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[
Code:
[nokia@localhost ~]$ ggl-gtk -l 0
Initialize curl_xml_http_request extension.
Initialize default_framework extension.
Initialize libxml2_xml_parser extension.
Initialize default_options extension.
Initialize dbus_script_class extension.
Initialize gtk_edit_element extension.
Initialize gst_video_element extension.
I know i'm asking a lot of questions, but im just starting to learn this and it is very different that c
so heres my new question
im writing a script that changes file extension and or ending of files with not extensions. I have the code working to change the extension, but i'm trying to tell the user when they enter an extension that does not exist so they know there was an error in input.