Re: [expert] Slightly OT - Apache Mod_SSL

2003-10-17 Thread Sebastian McDonagh
Update!

Problem solved, the key mismatch was because of a problem with the crt
file.

Got a new crt generated and it is fine.

Seb
On Fri, 2003-10-17 at 08:30, seb wrote:
 Hi everyone :) 
 
 I have a MDK 8.2 box with Apache 1.3.23, it has come time to renew the ssl 
 certificate for this machine.
 
 Now i have been through and generated the csr etc etc and it has been 
 signed and now i have to add the new certificate and encrypted key to the 
 servers config.
 
 Basically what i was trying to do was to back up the old ones and then 
 create the new ones in their place named as they were. Restart httpd and 
 technically i should be up and away.  
 
 Now when i start apache i get it hanging, when i check syslog it is 
 waiting for the password.
 
 Now i may have had temporary brain failure but how can i redirect the 
 standard out from syslog to a terminal where i can put in the password and 
 the second part of my question is when i use the command 
 
 openssl rsa -in new.key -out new.key.decrypted
 
 And change the appropriate lines in ssl.vhost-conf i get a key mismatch.
 
 I would appreciate any assistance as the old certificate expires tomorrow.
 
 Regards
 
 Sebastian McDonagh
 Sydney Aus
 
 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Sebastian McDonagh [EMAIL PROTECTED]


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Slightly OT - Apache Mod_SSL

2003-10-16 Thread Sebastian McDonagh
Hi everyone :) 

I have a MDK 8.2 box with Apache 1.3.23, it has come time to renew the ssl 
certificate for this machine.

Now i have been through and generated the csr etc etc and it has been 
signed and now i have to add the new certificate and encrypted key to the 
servers config.

Basically what i was trying to do was to back up the old ones and then 
create the new ones in their place named as they were. Restart httpd and 
technically i should be up and away.  

Now when i start apache i get it hanging, when i check syslog it is 
waiting for the password.

Now i may have had temporary brain failure but how can i redirect the 
standard out from syslog to a terminal where i can put in the password and 
the second part of my question is when i use the command 

openssl rsa -in new.key -out new.key.decrypted

And change the appropriate lines in ssl.vhost-conf i get a key mismatch.

I would appreciate any assistance as the old certificate expires tomorrow.

Regards

Sebastian McDonagh
Sydney Aus


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Squid Delay Pool

2003-02-12 Thread Sebastian McDonagh
He is talking about squids bandwidth management features.  Dont know too
much about it myself but i found a bit about it in the howto on
bandwidth throttling.

Seb

On Wed, 2003-02-12 at 20:28, Michael Adams wrote:
 This came up in another list i am on. I do not even know what he is talking 
 about (other than squid being a proxy server).
 
  I am running squid with Mandrake 8.2 and using Webmin for management.
 
  Just a quick one, is the Squids Delay Pools feature enabled during
  installation of Mandrake 8.2? or do I have to uninstall then install squid
  with the delay pool features.
 
 Any help for the man?
 -- 
 Michael
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Sebastian McDonagh
ATR Australia Pty Ltd
Ph:61 2 9490 6500
Fax: 61 2 9490 6599
Mobile: 0412 618 206
Email: [EMAIL PROTECTED]
Web: www.atraustralia.com.au

 
Notice 

The information contained within this transmission is intended only for
the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, re-transmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended
recipient(s) is strictly prohibited. If you have received this
transmission in error, please contact the sender immediately and delete
the material from any computer on which it may exist.
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] copying files with scp

2002-11-10 Thread Sebastian McDonagh
Thats what i ended up doing guys 

cd /home; ssh Hostname 'cd /home; tar -cf - `cat /home/seb/users`' |
tar xf -

Thanks for the help 

Regards

Seb
On Sat, 2002-11-09 at 00:23, Manuel Soto wrote:
 Why don't you use tar or cpio and then transfer only one file and
 restore files and attributes from this file?.
 
 Later,
 MS
 
 On Fri, 2002-11-08 at 04:18, PlugHead wrote:
  If I'm reading the man page correctly, the -p option preserves the modes of 
  the files (e.g. rwx), not the owner.  Keeping the owners could be a bit 
  problematic, since the owner id on one system is probably different from the 
  owner id on another system...
  
  If all of the your files need to have the same owner, I would first copy them 
  to some empty temp directory, do a 'chown user.group -R *' in that directory, 
  then move them to where they need to be...  Otherwise, I have no simple 
  answers... :)  
  
  (Although, it should be possible to create a script that changes the owner, 
  based on the directory name under home (e.g. /home/plughead.)  Something 
  like:
  
cd /home
for i in * ; do chown $i.$i -R $i ; done
  
  might do the trick...)
  
  HTH,
  -Jason
  
  On Thursday 07 November 2002 10:13 pm, Sebastian McDonagh wrote:
   Hi guys,
  
   Time to change over the mail server and am copying down /home to the new
   server.  I am currently trying to do this via scp, now i dont claim to
   be any expert but from reading the man pages on scp i should be able to
   use the -rp switches to 1. Copy recursively and 2. maintain file
   permissions of those directories and subdir.
  
   Anyway my problem is twofold and i would really appreciate any
   assistance you guys could give.
  
   The first thing is copying the directories over,
   The command i am using is,
  
   scp -rp X.X.X.X /home/* /home/
  
   Now this sure gets the directory down but then they are all owned by
   root and are in the root group.  Now this is obviously going to be a
   problem.
  
   What am i doing wrong ? Does anyone out there know how to maintain the
   permissions of the files.
  
   The second issue is if i have the files down and they are all owned by
   root and in the root group, does anyone have a script that would allow
   me to change the ownership and groups of the 120 or so directorys.
  
   The ideal i spose would be to copy the necessary home directorys without
   changing the permissions in the first place.
  
   Sorry if it is a bit rambling, would be great if someone was able to
   assist.
  
   Regards
  
   Sebastian
   ATR Australia
  
  -- 
  
  =
  You like it? he said to Mort, in pretty much the same tone of voice
  people used when they said to St George, You killed a *what*?
  -- Mort tastes scrumble for the first time
 (Terry Pratchett, Mort)
  
  
  
  
 
  Want to buy your Pack or Services from MandrakeSoft? 
  Go to http://www.mandrakestore.com
 
 
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] copying files with scp

2002-11-07 Thread Sebastian McDonagh
Hi guys,

Time to change over the mail server and am copying down /home to the new
server.  I am currently trying to do this via scp, now i dont claim to
be any expert but from reading the man pages on scp i should be able to
use the -rp switches to 1. Copy recursively and 2. maintain file
permissions of those directories and subdir.

Anyway my problem is twofold and i would really appreciate any
assistance you guys could give.

The first thing is copying the directories over,
The command i am using is,

scp -rp X.X.X.X /home/* /home/

Now this sure gets the directory down but then they are all owned by
root and are in the root group.  Now this is obviously going to be a
problem.

What am i doing wrong ? Does anyone out there know how to maintain the
permissions of the files.

The second issue is if i have the files down and they are all owned by
root and in the root group, does anyone have a script that would allow
me to change the ownership and groups of the 120 or so directorys.

The ideal i spose would be to copy the necessary home directorys without
changing the permissions in the first place.

Sorry if it is a bit rambling, would be great if someone was able to
assist.

Regards

Sebastian 
ATR Australia






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com