Search Results

Search: Posts Made By: dakelly
1,649
Posted By dakelly
Forgot to say, in our DMZ 2 servers built...
Forgot to say,

in our DMZ 2 servers built from scratch on ubuntu 18.04 - work
in our DMZ 2 servers updated to ubuntu 18.04 - do not work
in our DMZ 3 servers still at ubuntu 16.04 - do not...
1,649
Posted By dakelly
Sorry I am out the office for a while..... so...
Sorry I am out the office for a while..... so not in the office to check this out.

I done this:

/etc/init.d/sendmail stop
cp sendmail.mc hostname.mc
cp sendmail.cf sendmail.cf.25Mar2019...
1,649
Posted By dakelly
Sendmail - issue within DMZ for some servers but not all
Hi All,

I have a strange issue and I am not sure where the problem lies.

I have about six Ubuntu servers on our DMZ two of which were built on 18.04 from scratch the others were upgraded to...
3,778
Posted By dakelly
Hi Gull04, Being offline is fine... I will...
Hi Gull04,

Being offline is fine... I will e going to site now anyway then not back until monday.

I copied the file from windows to Linux, but then I created a new one in vi on linux server....
3,778
Posted By dakelly
Tried changing this, and i now get an error: ...
Tried changing this, and i now get an error:
./test_users.sh: /home/user/exp.sh: /usr/bin/expect^M: bad interpreter: No such file or directory

All files are in /home/user/ directory.

I have...
3,778
Posted By dakelly
Hi Gull04, in your main script I see that...
Hi Gull04,

in your main script I see that this is calling the expect script, with username & password
${BINDIR}/set_pw.sh ${USER} Ch4ng3me

And looking at your expect code
it is taking the...
3,778
Posted By dakelly
Using Expect for the first time
Hi All,

Using Linux server 18.04

Trying to understand EXPECT, so I created a script to add in new users.

The code below works without expect, and I can manually change the passwords for the...
16,837
Posted By dakelly
Thanks jgt, but I never found what I was looking...
Thanks jgt, but I never found what I was looking for via the search.

However, I was able to fix my problem this morning - it's great what a nights sleep can do.

( echo "Subject: Test from...
16,837
Posted By dakelly
Sendmail - Attachments & Subjects
Hi All,

Not been around in a while. However I have been all over tinternet (google) for days looking for a solution.

Where I work has decided to use Sendmail on our Linux and Unix estate for...
2
1,272
Posted By dakelly
I prefer to log into the zone from the global...
I prefer to log into the zone from the global zone and while in that zone just doing an

init 0


this will eventually take you back to the global zone
Forum: UNIX and Linux Applications 06-04-2018
5,423
Posted By dakelly
It took time, but the issue was with the...
It took time,

but the issue was with the firewall never had the correct info
and also on Network B the DNS was not correct.

Cheers for the help.
Forum: UNIX and Linux Applications 03-09-2018
5,423
Posted By dakelly
I have a feeling it may be the firewall that is...
I have a feeling it may be the firewall that is the issue.

every end user on Network A can access the WP2 absolutely fine, no issues in speed... so this is not the Server for the WP2 website.
...
Forum: UNIX and Linux Applications 03-09-2018
5,423
Posted By dakelly
I attached an image of what i am trying to do in...
I attached an image of what i am trying to do in my original post.


Anyway, using the IP from the DMZ server to the WP1 & WP2 have no difference in speed. WP1 loads fine, WP2 loads very slow...
Forum: UNIX and Linux Applications 03-09-2018
5,423
Posted By dakelly
One DMZ server reverse proxy for 2 websites
Hi All,

Hope this is the correct thread to ask this, if not, can an admin please move it to the correct thread.


Got a wee problem I hope someone can point me in the right direction.

I have...
1,756
Posted By dakelly
Bodisha, The best way I like to remember it...
Bodisha,

The best way I like to remember it is that it is a marker to show a variable.

for instance this is my PS1

HOST=`hostname`
PS1='$LOGNAME@$HOST: $PWD>

PS1 = (the following)...
8,240
Posted By dakelly
I have a script that does something similar, and...
I have a script that does something similar, and this is what I use, but mine is older than 15 days.. only changed to your search name terms.
you might want to keep your maxdepth, and change your...
8,240
Posted By dakelly
if I read this correct, folder A has say 100...
if I read this correct,
folder A has say 100 files, say 30 of which is ABC_DEFGH*
and also has folder B nad has 20ish files that has ABC_DEFGH*

if so, you can remove all from folder a and NOT...
8,240
Posted By dakelly
Hi, this should work... find...
Hi,

this should work...


find /path/to/files -type f -name "ABC_DEFGH*" -mtime +20

or

cd /path/to/files
find . -type f -name "ABC_DEFGH*" -mtime +20


Please bear in mind that it is...
Forum: Solaris 09-08-2017
2,739
Posted By dakelly
Hi All, Amazing what a wee nights sleep can...
Hi All,

Amazing what a wee nights sleep can do....

I found my issue was trying awk in the if statement, so changed it and amended it to what I need...


. . .
OUTPUT=/tmp/output.txt...
Forum: Solaris 09-07-2017
2,739
Posted By dakelly
Hi Andrew, Thanks for getting back to me. ...
Hi Andrew,

Thanks for getting back to me.

To answer your question:
in the directory there could potentially be thousands of files.
each file will have multiple lines
If any of the lines in...
Forum: Solaris 09-07-2017
2,739
Posted By dakelly
Help with Script using awk
Hi All,

I need to create a script to look at a very long list of files, and look inside these files for a specific number of a special character "," there needs to be no more than 14 in each line...
1,089
Posted By dakelly
Thanks apmcd47 your absolutely correct, it is in...
Thanks apmcd47 your absolutely correct, it is in Solaris, and i have the script as /bin/sh

I tried your first option of echo `basename $ZONE` >> $MSG which worked

coming from windows support...
1,089
Posted By dakelly
awk - help in removing some text
Hey Guys,

Earlier I asked a question under Solaris, which I got great help... thanks.

Although I got the script working for what it really needed to do, I am looking for a bit of help to...
Forum: Solaris 05-29-2017
2,390
Posted By dakelly
hicksd8 - yes I did mean that, but i was...
hicksd8 - yes I did mean that, but i was replying to you from my mobile while I was walking.. sorry.

Jim McNamamara - you let me see this in a different way, so i played around with your...
Forum: Solaris 05-26-2017
2,390
Posted By dakelly
Thanks for replying. Yes I have tried the...
Thanks for replying.

Yes I have tried the -s option... no difference.

But the code I showed above never gave any error... looked as though it worked... But looking at $MSG there was nothing...
Showing results 1 to 25 of 26

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