Search Results

Search: Posts Made By: indo1144
6,197
Posted By indo1144
Hi All! Thanks for the replies! I'm afraid I...
Hi All!
Thanks for the replies! I'm afraid I wasn't clear enough in my initial example. I realized that when I received my first reply, but I wasn't able to reply anymore.

The separator is NOT...
6,197
Posted By indo1144
Sed; insert text two lines above match
Hi!

Considering below text, how would I use sed to insert text right below the v0005-line, using the SEPARATOR-line as a pattern to search for, so two lines above the separator? I can do it right...
Forum: Solaris 08-21-2008
9,376
Posted By indo1144
The reason that directive exist, is that only the...
The reason that directive exist, is that only the apache-processes that serve out pages run as a different user. Did you notice that one process always runs as root (when started as root)? The other...
4,840
Posted By indo1144
The ./sh-n-body.i686 script is expecting the...
The ./sh-n-body.i686 script is expecting the input, not the script that you showed in the example.
Somewhere in the script, there is probably a 'read' statement. Looks like this perhaps:


read...
5,222
Posted By indo1144
Here's a hint...
If you use this command, it will execute the command on the remote end:



However, if you pipe the output through to another command, THAT PART will be processed locally, and the outputfile will...
6,727
Posted By indo1144
In the config-file, there is an "ignoreip" where...
In the config-file, there is an "ignoreip" where you can exclude certain IP-addresses from being banned, you could put the admin-computer in there, I guess.
6,727
Posted By indo1144
fail2ban
You really should look into a neat program called "fail2ban". I have it running on a Debian-server and it's great.
You can configure how many retries someone has after a password-failure and how...
Forum: Filesystems, Disks and Memory 05-05-2006
2,914
Posted By indo1144
Automounted filesystems disappear
We have a Slackware 9.1 box that our ASP controls. We use it to see the logging of our Weblogic-clusters.

All the logging is auto-mounted in /rmt which is fine, as long as you know the names of...
12,112
Posted By indo1144
Why not make the "trigger-condition" part of the...
Why not make the "trigger-condition" part of the script itself?

I don't know if a crontab is the right place for this. Of course it could be done, you can enter individual shellcommands in a...
3,831
Posted By indo1144
When you start a script that's in the current...
When you start a script that's in the current workingdirectory, use ./script.script to start it. Just typing its name will not work, unless you put your current directory (specified by a single dot)...
4,177
Posted By indo1144
Use crontab -e to open crontab editor and use...
Use crontab -e to open crontab editor and use this. I don't know what php -q does, so I did not use it below, but you probably could. And the top line (#!/usr/local/lib/php -q) has no place in a...
2,617
Posted By indo1144
You need to 'escape' the forward-slash in your...
You need to 'escape' the forward-slash in your </OUTBOUND> tag. Use a back-slash to escape it:
11,244
Posted By indo1144
I believe the problem has to do with piping, but...
I believe the problem has to do with piping, but not entirely sure.

Here's something you could try, this is from one of my live scripts.:
1,754
Posted By indo1144
./script_A.sh && ssh user@foo.bar script_B.sh ...
./script_A.sh && ssh user@foo.bar script_B.sh

Assuming you have public key installed, this wil execute first script and if first script finishes (and only then) will it start second script on...
2,591
Posted By indo1144
Maybe "curl" will be an option?
Maybe "curl" will be an option?
3,886
Posted By indo1144
Because you typed ls twice....
Because you typed ls twice....
11,029
Posted By indo1144
What happens when you connect locally on the...
What happens when you connect locally on the ftp-server itself? If you do a "ftp localhost" and use the "passive" command and then ask a directory-listing, does that work?

I don't know if I can...
11,029
Posted By indo1144
I have had similar problems and we traced those...
I have had similar problems and we traced those back to a Cisco PIX that somehow did not like the fact that the internal- and external IP-address were NAT-ted.

The data-channel originated from a...
Forum: Cybersecurity 09-28-2005
4,278
Posted By indo1144
The box could not be brought down, since it was a...
The box could not be brought down, since it was a production-machine for my friend, who hosts websites on it. His businesspartner could not be pursuaded to bring the box down while investigating the...
Forum: Linux 09-26-2005
16,844
Posted By indo1144
If you installed Squid, try port 3128 also.
If you installed Squid, try port 3128 also.
Forum: Cybersecurity 09-26-2005
4,278
Posted By indo1144
List of HTTP/FTP-clients on a server
The other day, a friend of mine had his Linux webserver compromised because he was running a vulnerable PHP-script. The "hacker" had used a malformed URL to include a wget-command to fetch some stuff...
9,896
Posted By indo1144
It sure does, so my advice to you is to "grep...
It sure does, so my advice to you is to "grep smartly", so you narrow down your search as fast as you can, then pipe the results into another grep for processing. While experimenting with scripts, I...
45,270
Posted By indo1144
My "man test" does not have a "-a" option, but...
My "man test" does not have a "-a" option, but that may depend on my OS. The "man test" on my system says you can test this (and much more):

-e file exists
! -e file doesn't exist
-s file...
Forum: SuSE 09-23-2005
155,684
Posted By indo1144
processor : 0 vendor_id :...
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 1
cpu MHz : 3201.773
cache...
Forum: Cybersecurity 09-23-2005
10,108
Posted By indo1144
This is already happening in your access_log!...
This is already happening in your access_log! Look here:
12.23.45.43 - roy [21/Sep/2005:15:19:00 +0200] "GET ch13_01.htm HTTP/1.1" 200 11932 "http://foo.bar/index.htm" "Mozilla/4.0 (compatible; MSIE...
Showing results 1 to 25 of 56

 
All times are GMT -4. The time now is 10:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy