Ok, I found a file called htpasswd in the /var/www/vhosts/mydomain.com/conf/ directory and it has the username and an encrypted password, and it appears some code was inserted into httpd.conf in the same directory, but I cannot edit httpd.conf as I get a permission error when I try to save it, even though I am operating as root. This would seem to be related to the use of Plesk for virtual host control, and I see instructions around the web for using a vhost.conf file to insert information into the httpd.include file, but nothing about how to remove things from that file.
Here is the text that was inserted into httpd.include :
Hi,
I came across a script a few months ago that allowed you to use the following script to include the current time into your prompt (useful from auditting purposes):
# Set Prompt
typeset -RZ2 _x1 _x2 _x3
let SECONDS=$(date '+3600*%H+60*%M+%S')... (5 Replies)
Hello,
I have been attempting to automate the addition of SSL certificates to keychains on a MAC using the "security" command. I've noticed two things, 1 of which I don't understand.
1. If I use something like "security add-trusted-cert -d -k /System/Library/Keychains/SystemRootCertificates... (1 Reply)
I have these two files in current dir:
oos.txt
oos_(copy).txt
I execute this find command:find . -regex './oos*.txt'And this outputs only the first file (oos.txt)! :confused:
Only if I add another asterisk to the find find . -regex './oos*.*txt' do I also get the second file... (7 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
This really puzzles me. The following code gives me the error 'expr: syntax error' when I try to do multi-line comment using here document
<<EOF
echo "Sum is: `expr $1 + $2`"
EOF
Even if I explicitly comment out the line containing the expr using "#", the error message would still exist... (3 Replies)
Our AIX servers send e-mails which have the "from" address set to "root@company.com" for our root user ("C{M}company.com" in /etc/sendmail.cf). The problem is that when bad e-mails are sent out or rejected by remote servers, they are being returned and delivered to e-mail box of "Mary Root".
... (2 Replies)
Hi there,
I'm running into a very weird situation. Let's forget about the purpose of my initial script please. I noticed the bug whatever I'm trying to do.
I'm on an old server running bash 3.1.17.
Say we have the following script :
foo:~# cat /tmp/test
#!/bin/bash
f1() {
local... (9 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT CENTOS
crlhelper
crlhelper(8)crlhelper(8)NAME
crlhelper - Helper program used to store-and-forward CRLs
SYNOPSIS
crlhelper <semid> <parentpid> <directory> [prefix]
DESCRIPTION
A helper program used by the Apache httpd mod_revocator plug-in to store-and-forward CRLs from upstream to the various Apache processes in
the preform MPM. This saves each process from having to fetch the CRL itself. This is not expected to be run by end-users.
The mod_revocator plug-in requires the mod_nss plug-in to also be registered with this Apache httpd process.
Whenever an Apache httpd process configured to use the mod_revocator plug-in is started, this program will be automatically invoked via
reference to the mod_revocator configuration file stored under /etc/httpd/conf.d/revocator.conf which contains the following default entry:
# CRL Helper:
# This helper program does the actual CRL retrieval
#
# NOTE: Located at '/usr/bin/crlhelper' prior
# to 'mod_revocator-1.0.3-16'.
#
CRLHelper /usr/libexec/crlhelper
OPTIONS
<semid>
The semaphore which corresponds to the mod_revocator plug-in registered with the Apache httpd process during startup.
<parentpid>
The primary parent pid of the Apache httpd process into which both the mod_nss and mod_revocator plug-ins have been loaded.
<directory>
Since the mod_revocator plug-in depends upon the mod_nss plug-in being configured, this option specifies the destination directory
of the NSS databases that will be associated with this executable specified by the following entry in the mod_nss plug-in's
/etc/httpd/conf.d/nss.conf configuration file:
# Server Certificate Database:
# The NSS security database directory that holds the
# certificates and keys. The database consists
# of 3 files: cert8.db, key3.db and secmod.db.
# Provide the directory that these files exist.
NSSCertificateDatabase /etc/httpd/alias
[prefix]
Optional prefix to attach prior to the names of the NSS certificate and key databases contained in the directory referenced by the
previous argument and specified by the following entry in mod_nss plug-in's /etc/httpd/conf.d/nss.conf configuration file (must be
uncommented in order to be utilized):
# Database Prefix:
# In order to be able to store multiple NSS databases
# in one directory they need unique names. This option
# sets the database prefix used for cert8.db and key3.db.
#NSSDBPrefix my-prefix-
BUGS
Report bugs to http://bugzilla.redhat.com.
AUTHORS
Rob Crittenden <rcritten@redhat.com>.
COPYRIGHT
Copyright (c) 2013 Red Hat, Inc. This is licensed under the Apache License, Version 2.0 (the "License"); no one may use this file except in
compliance with the License. A copy of this license is available at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITH-
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and
limitations under the License.
Rob Crittenden Jul 3 2013 crlhelper(8)