Re: [SLUG] excrypting fs

2005-04-07 Thread Michael Chesterton
Kevin Saenz <[EMAIL PROTECTED]> writes:

> I would like to encrypt /home and my shared directories on my boxes.
> Would I have to reformat them with an encrypt option? What is the over
> head with encrypted FS? Is it advisable to share encrypted fs using
> samba or would there be too much of an over head? Do I have to do a
> lot of house keeping on the file systems?

I put an encrypted /home on my laptop. I figured if it gets lost, my
data will be safe from the causal observer. Although I tend to use
sleep rather than power off, so it's kind of pointless. It doesn't
hurt, anyway, didn't notice any overhead, it feels and works exactly
the same as a normal file system. 

I used cryptsetup, don't remember the steps but from memory the docs were
good.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Probs getting logcheck to run.

2005-04-07 Thread Michael Lake
Hi all
I am having probs getting logcheck to run.
I have a setup using sudo like this:
mikel myhostname=NOPASSWD: /usr/sbin/logcheck
but when I go to run it like this:
	mikel$ sudo logcheck -o
	logcheck should not be run as root. Use su to invoke logcheck:
	su -s /bin/bash -c "/usr/sbin/logcheck [options]" logcheck
	mikel$ 

so I take their advice and run it like the above:
	mikel$ su -s /bin/bash -c "/usr/sbin/logcheck -o"
	Password: 
	logcheck should not be run as root. Use su to invoke logcheck:
	su -s /bin/bash -c "/usr/sbin/logcheck [options]" logcheck
	mikel$

eh ? It stills tells me that it should not be run as root.
I can run it as me just to get version numbers and help 
	mikel$ /usr/sbin/logcheck -v
	logcheck 1.2.35

but I cant see to run it via sudo or su 

Mike
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] excrypting fs

2005-04-07 Thread Paul Dwerryhouse
On Thu, Apr 07, 2005 at 03:28:22PM +1000, Kevin Saenz wrote:
> I would like to encrypt /home and my shared directories on my boxes.

There is CFS - Cryptographic Filesystem - which uses a local NFS server
running on the loopback network interface to provide encryption.

I wouldn't use it as /home, though - I found it had some NFS locking problems
with certain applications, and that would make it fairly painful to use
as a desktop. Instead, I'd set it up in a separate area and move
anything sensitive in there.

Under Debian, at least, it's packaged and a very simple install. Not
sure about other distros.

Doesn't require any reformatting.

Cheers,

Paul

-- 
Paul Dwerryhouse| PGP Key ID: 0x6B91B584
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] How to use wget when username contains a "@"

2005-04-07 Thread Michael Kraus
G'day...
 
I'm wanting to retrieve some files of a web server using wget.
 
Unfortunately though the username contains a @ symbol, and the man for
wget indicates that the way to do what I want would be to:
 
wget -r ftp://username:[EMAIL PROTECTED]/dir/file 

However, the username contains a @

How do I work around this?

Thanks
 
Regards,
Michael Kraus
Software Developer
[EMAIL PROTECTED]
Direct Line 02 8306 0007




Wild Technology Pty Ltd , ABN 98 091 470 692
Sales - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017
Admin - Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017
Telephone 1300-13-9453 |  Facsimile 1300-88-9453
http://www.wildtechnology.net
DISCLAIMER & CONFIDENTIALITY NOTICE:  The information contained in this email 
message and any attachments may be confidential information and may also be the 
subject of client legal - legal professional privilege. If you are not the 
intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited.   This email and any attachments are 
also subject to copyright.  No part of them may be reproduced, adapted or 
transmitted without the written permission of the copyright owner.  If you have 
received this email in error, please immediately advise the sender by return 
email and delete the message from your system.


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How to use wget when username contains a "@"

2005-04-07 Thread David Gillies
If a user and pass is required, I'd use ncftpget instead
then you'd just do a;
ncftpget -u username -p password ftp://host/dir/file
Michael Kraus wrote:
G'day...
 
I'm wanting to retrieve some files of a web server using wget.
 
Unfortunately though the username contains a @ symbol, and the man for
wget indicates that the way to do what I want would be to:
 
wget -r ftp://username:[EMAIL PROTECTED]/dir/file 

However, the username contains a @
How do I work around this?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How to use wget when username contains a "@"

2005-04-07 Thread Gottfried Szing

Michael Kraus wrote:
G'day...
 
I'm wanting to retrieve some files of a web server using wget.
 
Unfortunately though the username contains a @ symbol, and the man for
wget indicates that the way to do what I want would be to:
 
wget -r ftp://username:[EMAIL PROTECTED]/dir/file 

However, the username contains a @
How do I work around this?
in this cases i use curl (just another download tool), because this 
allows me to specify the username and password in the netrc-file in the 
user's home directory. this is the work around for me. i think wget also 
supports this way of authentication.

i suggest to use a different tool like ncftpget for ftp transfer.
cu
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: FW: [SLUG] Possible hacker Attempt

2005-04-07 Thread Gottfried Szing

Phill wrote:
What is "AFAIR"
AFAIK this means "As Far As I Remember" ;)
cu, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Groupware

2005-04-07 Thread Grant Parnell - slug
On Thu, 7 Apr 2005, Howard Lowndes wrote:

> I'm looking for a web based multi-user calendar function that is web 
> based, PHP and preferably Postgresql (but will accept MySQL).
> 
> What are your recommendations?

Seems to have dissapeared off the net but I can get you a copy of 
CST-Calendar (it's GPL) and tiny, easy to configure/adjust to your needs.
[EMAIL PROTECTED] backup]$ ls -l
total 40
-rw-rw-r--1 grantgrant  71 Oct 11  2000 check.php3
-rw-r--r--1 grantgrant 156 Oct 11  2000 config.php3
-rw-r--r--1 grantgrant4177 Oct 11  2000 display.php3
-rw-r--r--1 grantgrant 147 Dec 15  2000 header.php3
-rw-r--r--1 grantgrant1347 Oct 11  2000 modify.php3
-rw-r--r--1 grantgrant5920 Oct 11  2000 operate.php3
-rw-r--r--1 grantgrant5380 Oct 11  2000 welcome.php3

Here's an example of someone using it - looks like it's stuck inside a 
frame.
http://www.gothicplanet.net/cal-welcome.php

We modified it here at ELX for finish date/time and to email us reminders 
of stuff coming up and to have groups. Oh yeah, we happen to use MySQL but 
that's trivial to change (config.php3) - the whole thing only uses one 
very simple table.

-- 
-- 
Grant Parnell - SLUG President
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs 
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How to use wget when username contains a "@"

2005-04-07 Thread Grant Parnell - slug
On Thu, 7 Apr 2005, Michael Kraus wrote:

> G'day...
>  
> I'm wanting to retrieve some files of a web server using wget.
>  
> Unfortunately though the username contains a @ symbol, and the man for
> wget indicates that the way to do what I want would be to:
>  
> wget -r ftp://username:[EMAIL PROTECTED]/dir/file 
> 
> However, the username contains a @

Well it's going to be some form of escaping... maybe \@ or %40

-- 
-- 
Grant Parnell - SLUG President
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs 
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Richmond meetings

2005-04-07 Thread Malcolm Campbell









I have been trying to find some information
about WSLUG meetings and I am unable to reach their site through the link.

Your assistance will be much appreciated.

Best regards,

Malcolm Campbell.

 








--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 6/04/2005
 

  
<>-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] excrypting fs

2005-04-07 Thread Howard Lowndes

QuantumG wrote:
Howard Lowndes wrote:
Probably a stronger front door if the boys in blue come knocking with 
heavy hammers because they suspect that you have something to hide :)

All the cool kids these days run Knoppix and just power down their 
machine when their Mum^H^H^H^H^H police knock on their door.  Poof goes 
the ram disk.
...together with your list of customers. :)
Trent
--
Howard.
LANNet Computing Associates - Your Linux people 
--
When you just want a system that works, you choose Linux;
When you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.
begin:vcard
fn:Howard Lowndes
n:Lowndes;Howard
org:LANNet Computing Associates
adr:;;PO Box 1174;Lavington;NSW;2641;Australia
email;internet:howard [AT] lowndes [DOT] name
tel;work:02 6040 0222
tel;fax:02 6040 0222
tel;cell:0419 464 430
note:I am heartily sick and tired of telemarketers, therefore I do not answer phone calls which do not present Caller Line Identification, they get flicked to voicemail.  I apologise if this inconveniences you, and I respect your right to not identify yourself, but I also ask that you respect my right to not answer your call if you choose not to identify yourself.  Try dialing 1832 (#32# from mobiles) before the number, to present Caller Line Identification.
x-mozilla-html:FALSE
url:http://www.lannet.com.au
version:2.1
end:vcard

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Groupware

2005-04-07 Thread Howard Lowndes

O Plameras wrote:
Howard Lowndes wrote:
I'm looking for a web based multi-user calendar function that is web 
based, PHP and preferably Postgresql (but will accept MySQL).

What are your recommendations?
You might want to check this:
http://www.horde.org/kronolith/
Mmmm...  I've used horde before, with IMP and it was a bit of a PITA, 
but tks anyway.


--
Howard.
LANNet Computing Associates - Your Linux people 
--
When you just want a system that works, you choose Linux;
When you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.
begin:vcard
fn:Howard Lowndes
n:Lowndes;Howard
org:LANNet Computing Associates
adr:;;PO Box 1174;Lavington;NSW;2641;Australia
email;internet:howard [AT] lowndes [DOT] name
tel;work:02 6040 0222
tel;fax:02 6040 0222
tel;cell:0419 464 430
note:I am heartily sick and tired of telemarketers, therefore I do not answer phone calls which do not present Caller Line Identification, they get flicked to voicemail.  I apologise if this inconveniences you, and I respect your right to not identify yourself, but I also ask that you respect my right to not answer your call if you choose not to identify yourself.  Try dialing 1832 (#32# from mobiles) before the number, to present Caller Line Identification.
x-mozilla-html:FALSE
url:http://www.lannet.com.au
version:2.1
end:vcard

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Groupware

2005-04-07 Thread Voytek



> O Plameras wrote:
>> Howard Lowndes wrote:
>>
>>> I'm looking for a web based multi-user calendar function that is web
>>> based, PHP and preferably Postgresql (but will accept MySQL).

any of them sync to a Palm ?

-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: Speaking of wireless...

2005-04-07 Thread Gottfried Szing
> Yep I will vouch for that. Last night I was on a 1/2hr train ride with
> my lappy open, and came across hundreds of APs, over half of them open.
>
> It's quite fun to just sit and watch them roll by the screen as the
> train goes past.

i was for one year travelling through parts of asia, australia, NZ, USA,
canada, and parts of europe and for the whole year i havnt paid a cent for
internet access. even in the smallest villages (like wagga wagga or in
condingup in WA) i was able to find an AP without protection. pretty easy
to join the AP and to use the internet access.

funny thing: in victor harbour (SA) was a AP that opened me access to a
company network with access to printers and other windows shares. and one
server of the network was packed with install cds, movies, and mp3s.

just my 2 euro-cents, gottfried

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Groupware

2005-04-07 Thread O Plameras
Howard Lowndes wrote:
I'm looking for a web based multi-user calendar function that is web 
based, PHP and preferably Postgresql (but will accept MySQL).

What are your recommendations?
You might want to check this:
http://www.horde.org/kronolith/
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] excrypting fs

2005-04-07 Thread Kevin Saenz
realistically if you wanted to loose your data you just have to mess
with your supertables, and inodes, it would make it very difficult to
retrieve data.

> >> Probably a stronger front door if the boys in blue come knocking with
> >> heavy hammers because they suspect that you have something to hide :)
> > All the cool kids these days run Knoppix and just power down their
> > machine when their Mum^H^H^H^H^H police knock on their door.  Poof goes
> > the ram disk.
> 
> ...together with your list of customers. :)
> >
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: FW: [SLUG] Possible hacker Attempt

2005-04-07 Thread Ken Foskey
On Thu, 2005-04-07 at 09:22 +1000, Phill wrote:
> OK. I did a bit of reading on the subject. Linux can be vulnerable to
> buffer overrun attacks can't it? If not, why not?

Absolutely.  Everything can be susceptible to these attacks if they are
written in a language that allows it, typically C.

There are tools that instrument executable to "prevent" such attacks but
there is a performance cost and they are often breakable.  There is an
exploit that works with the buffer overrun detection of windows already.

If you have the most secure kernel in history and you run software that
is broken then you may be exposed, eg latest kernel and old version of
apache.  Security and hacker prevention is not about solving one simple
problem, it is a total package.

-- 
Ken Foskey
OpenOffice.org developer


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Groupware

2005-04-07 Thread O Plameras
Howard Lowndes wrote:

O Plameras wrote:
Howard Lowndes wrote:
I'm looking for a web based multi-user calendar function that is web 
based, PHP and preferably Postgresql (but will accept MySQL).

What are your recommendations?
You might want to check this:
http://www.horde.org/kronolith/

Mmmm...  I've used horde before, with IMP and it was a bit of a PITA, 
but tks anyway.

You may have tried this. If you have what dya think ?
http://www.kolab.org

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: Re: [SLUG] what is 's' in 'ls'

2005-04-07 Thread Amir Binyamini
Hello,
Eric said:
how can I identify what belongs to these above ?

The program lsof is pretty useful
You can use fuser .fam_socket (It is probably more efficient since lsof read 
all /proc
unless you know the pid of the process which created that file).

Eric said:
what is 's' in 'ls' listing, socket ?

srwx--1 root nobody  0 Oct 10  2003 .fam_socket

I think its a unix domain socket.
Yes it is; You can compile and run the simple
following program:
#include 
#include 
#include 
int main()
  {
  unsigned int s,s2;
  struct sockaddr_un local,remote;
  int len;
  s = socket(AF_UNIX,SOCK_STREAM,0);
  local.sun_family = AF_UNIX;
  strcpy(local.sun_path,"/tmp/rrSsocket");
  len = strlen(local.sun_path) + sizeof(local.sun_family);
  bind(s,(struct sockaddr*)&local,len);
  getchar();
  }
and you can see that  ls -al /tmp/rrSsocket shows the "s" bit.

Regards,
Amir
_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How to use wget when username contains a "@"

2005-04-07 Thread Stuart Guthrie
What about the --http-user= option?

man wget


 --http-user=user


HTH

Stu


On Thu, 2005-04-07 at 18:22 +1000, Grant Parnell - slug wrote:
> On Thu, 7 Apr 2005, Michael Kraus wrote:
> 
> > G'day...
> >  
> > I'm wanting to retrieve some files of a web server using wget.
> >  
> > Unfortunately though the username contains a @ symbol, and the man for
> > wget indicates that the way to do what I want would be to:
> >  
> > wget -r ftp://username:[EMAIL PROTECTED]/dir/file 
> > 
> > However, the username contains a @
> 
> Well it's going to be some form of escaping... maybe \@ or %40
> 
> -- 
> -- 
> Grant Parnell - SLUG President
> EverythingLinux services - the consultant's backup & tech support.
> Web: http://www.elx.com.au/support.php
> We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
> Phone 02 8756 3522 to book service or discuss your needs 
> or email us at paidsupport at elx.com.au
> 
> ELX or its employees participate in the following:-
> OSIA (Open Source Industry Australia) - http://www.osia.net.au
> AUUG (Australian Unix Users Group) - http://www.auug.org.au
> SLUG (Sydney Linux Users Group) - http://www.slug.org.au
> LA (Linux Australia) - http://www.linux.org.au
> 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Apache 1.3.33 displaying gifs weirdly!

2005-04-07 Thread Michael Kraus
G'day all...
 
I've got a FC3 with a custom built apache 1.3.33 (i.e. with mod_perl
1.29 and mod_ssl 2.8.22) - built as per (ORA's) the mod_perl book.
 
Everything is straight and fresh out-of-the-box so to speak, however
when I go to http://myserver/   the images are
OK on the first viewing of the first page with a browser, but as soon as
I go to another page on the server (e.g. http://myserver/manual) the
images break, or are displayed funny. (They just don't look the same.)

Has anyone else observed this behaviour and/or know what is to be done?

Thanks!
 
 
Regards,
Michael Kraus
Software Developer
[EMAIL PROTECTED]
Direct Line 02 8306 0007




Wild Technology Pty Ltd , ABN 98 091 470 692
Sales - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017
Admin - Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017
Telephone 1300-13-9453 |  Facsimile 1300-88-9453
http://www.wildtechnology.net
DISCLAIMER & CONFIDENTIALITY NOTICE:  The information contained in this email 
message and any attachments may be confidential information and may also be the 
subject of client legal - legal professional privilege. If you are not the 
intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited.   This email and any attachments are 
also subject to copyright.  No part of them may be reproduced, adapted or 
transmitted without the written permission of the copyright owner.  If you have 
received this email in error, please immediately advise the sender by return 
email and delete the message from your system.


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Apache 1.3.33 displaying gifs weirdly!

2005-04-07 Thread Michael Kraus
> to another page on the server (e.g. http://myserver/manual) 
> the images break, or are displayed funny. (They just don't 
> look the same.)

That is to say, they are skewed, if they are able to be displayed. The
seem to be corrupted by the server somehow.

(Viewing them with an gthumb on the server shows that they're fine
though.)

Regards,
Michael Kraus
Software Developer
[EMAIL PROTECTED]
Direct Line 02 8306 0007
 




Wild Technology Pty Ltd , ABN 98 091 470 692
Sales - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017
Admin - Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017
Telephone 1300-13-9453 |  Facsimile 1300-88-9453
http://www.wildtechnology.net
DISCLAIMER & CONFIDENTIALITY NOTICE:  The information contained in this email 
message and any attachments may be confidential information and may also be the 
subject of client legal - legal professional privilege. If you are not the 
intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited.   This email and any attachments are 
also subject to copyright.  No part of them may be reproduced, adapted or 
transmitted without the written permission of the copyright owner.  If you have 
received this email in error, please immediately advise the sender by return 
email and delete the message from your system.


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Apache 1.3.33 displaying gifs weirdly!

2005-04-07 Thread Grant Parnell - slug
On Fri, 8 Apr 2005, Michael Kraus wrote:

> G'day all...
>  
> I've got a FC3 with a custom built apache 1.3.33 (i.e. with mod_perl
> 1.29 and mod_ssl 2.8.22) - built as per (ORA's) the mod_perl book.
>  
> Everything is straight and fresh out-of-the-box so to speak, however
> when I go to http://myserver/   the images are
> OK on the first viewing of the first page with a browser, but as soon as
> I go to another page on the server (e.g. http://myserver/manual) the
> images break, or are displayed funny. (They just don't look the same.)
> 
> Has anyone else observed this behaviour and/or know what is to be done?

Firstly no.. never seen anything like that. Also perhaps you should 
elaborate on "don't look the same". Since rendering of images is almost 
exclusively under client control I can't see how the webserver has much 
effect. Things to look out for are caching of the images (ie if you set 
your browser not to load images, but it finds them in the cache it'll 
still display them and they're probably different). Also the webserver 
naturally can specify some attributes like size/resolution and borders and 
layout, but not stuff like number of colours. The other thing of note 
might be the location the webserver fetches them from, you might somehow 
have stuffed up and have a few versions in different places.

-- 
-- 
Grant Parnell - SLUG President
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs 
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] reference site for hacks ?

2005-04-07 Thread Voytek
what a good reference site for Linux hacks ?

I have some scripts taken off a compromised server, and, would like to
find out more how/where/etc these things do


-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Apache 1.3.33 displaying gifs weirdly!

2005-04-07 Thread mlh
On Fri, Apr 08, 2005 at 12:49:45PM +1000, Michael Kraus wrote:
> Everything is straight and fresh out-of-the-box so to speak, however
> when I go to http://myserver/   the images are
> OK on the first viewing of the first page with a browser, but as soon as
> I go to another page on the server (e.g. http://myserver/manual) the
> images break, or are displayed funny. (They just don't look the same.)

The apache manual and icons are found by Aliases.
This may have something to do with it.

(I also don't get 'displayed funny' -- they should appear or not.)

If the Alias is not working, you might be just seeing client
cached versions of things. Flush your cache for a truer picture.

Matt



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: run levels in debian/ubuntu

2005-04-07 Thread Matthew Palmer
On Wed, Apr 06, 2005 at 02:30:21PM +1000, James wrote:
> when I install something that I may not want to use all the time eg..

Don't do that.  Leave the symlinks in place, but rename from Snn to Knn. 
I've also heard that if you leave at least 1 symlink in place update-rc.d
won't recreate all of them, but I haven't tried that.  But update-rc.d
*will* respect your changes to ordering or S/K.  If it doesn't, that's a
bug.

Apart from being almost impossible to work out whether the symlinks have
been removed or were never added, it is more correct to change Snn to Knn
because that says "I do not want that service to be running in this
runlevel".  No symlink says "Buggered if I know what I want done in this
runlevel".

> The problem is that when I apt-get upgrade it restores the default
> runlevels and starts the daemons.  How can I get the runlevels to stay
> at my settings across an apt-get upgrade ?

This:

> On my desktop I use update-rc.d to delete all the default symlinks

Is not the same as this:

> I have tried update-rc.d blah stop 0 1 2 3 4 5 6 . but when I apt-get

"update-rc.d -f remove blah" will delete the symlinks, "update-rc.d blah stop
10 $(seq 0 6)" will create symlinks /etc/rc[0-6]/K10blah to
/etc/init.d/blah (if no symlinks already exist).

Since it's nigh-on impossible to work out whether a complete lack of
symlinks is due to "admin removed them" or "they were never installed", if
update-rc.d doesn't find any symlinks, it will install a set according to
the rules provided (update-rc.d blah defaults is the most common).

The problem, of course, is that the second paragraph of the "INSTALLING INIT
SCRIPT LINKS" section of man update-rc.d will bite you in the arse if you
try to use update-rc.d to do your own bit of rearrangement.  Doing a "-f
remove" followed by a "blah stop" should work, though.

- Matt


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Re: run levels in debian/ubuntu

2005-04-07 Thread Matthew Palmer
On Wed, Apr 06, 2005 at 02:41:10PM +1000, Simon Wong wrote:
> On Wed, 2005-04-06 at 14:30 +1000, James wrote:
> > The problem is that when I apt-get upgrade it restores the default
> > runlevels and starts the daemons.  How can I get the runlevels to stay
> > at my settings across an apt-get upgrade ?
> 
> Yes, this is one of my pet hates about Debian.
> 
> I guess the logic is that if you're installing it you want it to run!

No, if you're installing it but don't want it to run modify the rcN.d
symlinks to say "Stop" not "Start".

It's a failing of the SysV init system that the obvious thing (remove those
pesky symlinks) isn't the correct thing.

- Matt


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Re: [chat] Wireless

2005-04-07 Thread Jon Teh
On Fri, Apr 08, 2005 at 12:04:25PM +1000, Terry Collins wrote:
> Phil Scarratt wrote:
> > 
> > Hey
> > 
> > Just googling at the moment for it at the moment...does anyone know if
> > you can have multiple aerials/antennas on a wireless access point? 
> 
> No!.

Huh? You most certainly can.

Whether it is at all practical is a totally different matter.

First off, many APs support diversity, that is, two antennas. Generally
only one will transmit, while a switch switches between the antenna with
the highest signal strength for receive. However, this only works with
the two antennas being close to each other and relatively omnidirectional.

If you were to put the antennas in a fashion that they were unable to see
each other, but able to see different wireless nodes, your AP would reduce
performance to almost non-existant, crazily switching between antennas,
and dealing with massive error.

Another way, which has potential, is to use just a single antenna port from
the AP (obviously the one with TX if it's diversity equipped), connect it
to a 2.4GHz splitter/combiner, and run coax from there to two antennas.
This could conceivably allow radio signal from two areas previously blind
to each other to propogate to the AP. Just remember, a 2 port Splitter/
Combiner has a theoretical signal loss of 3dB, due to splitting the signal
into two, and there's probably <0.5dB loss to add to that for insertion
loss of the device. Another factor to consider would be the loss from the
runs of coaxial cable.

So once you've calculated a system power budget for the two antenna system,
and also a financial budget to acheive that particular power budget, you
can assess whether or not, it is viable to do at all.

Hope this helps somewhat answer the question, without getting too far into
the nitty gritty of radcomms engineering.


Regards,

Jon
 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: Ubuntu launches into command line only

2005-04-07 Thread Matthew Palmer
On Thu, Apr 07, 2005 at 09:41:18AM +1000, linley caetan wrote:
> running Ubuntu warty in i386
> after some recent updates  using apt (for alsa related items)
> Ubuntu reboots in CLI mode , no graphic login screen.

Sounds like gdm has gone walkabout.  Do you have a file /etc/init.d/gdm?  If
so, do you have a symlink /etc/rc2.d/S??gdm (where the two question marks
should be digits)?  If you've got both of those, I'm stumped, but your gdm
config has probably lunched itself.

> Launching X from CLI  gives a grey screen with "X" cursor and nothing 

If you just run the command 'X' from the command line, that's what you get. 
Try 'startx' to start a GUI session.

> else. There is no way to proceed except restarting the machine.

Today's message brought to you by the keys "Ctrl", "Alt", and "Backspace". 
(That'll kill the X server, and take you back to the command prompt from
whence you came).  Alternately, Ctrl-Alt-F1 will give you back your virtual
console without whacking the X server.

- Matt


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Date of installation of Fedora update

2005-04-07 Thread Mike MacCana
Leslie Katz wrote:
Is there a way I can see in chronological order all the updates I've 
downloaded and installed, so that I can get a better idea of which 
update may have caused my problem?
'course there is.
rpm -qa --last
Shows all packages installed and the date they were installed on, latest 
to oldest.

Mike

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: run levels in debian/ubuntu

2005-04-07 Thread Simon Wong
On Fri, 2005-04-08 at 14:26 +1000, Matthew Palmer wrote:
> No, if you're installing it but don't want it to run modify the rcN.d
> symlinks to say "Stop" not "Start".

hmmm, I hadn't thought of doing that :-(

Thanks for the tip!


-- 
Simon Wong <[EMAIL PROTECTED]>
Wongy.org

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: run levels in debian/ubuntu

2005-04-07 Thread telford
On Fri, Apr 08, 2005 at 02:24:03PM +1000, Matthew Palmer wrote:
> On Wed, Apr 06, 2005 at 02:30:21PM +1000, James wrote:
> > when I install something that I may not want to use all the time eg..
> 
> Don't do that.  Leave the symlinks in place, but rename from Snn to Knn. 
> I've also heard that if you leave at least 1 symlink in place update-rc.d
> won't recreate all of them, but I haven't tried that.  But update-rc.d
> *will* respect your changes to ordering or S/K.  If it doesn't, that's a
> bug.
> 
> Apart from being almost impossible to work out whether the symlinks have
> been removed or were never added, it is more correct to change Snn to Knn
> because that says "I do not want that service to be running in this
> runlevel".  No symlink says "Buggered if I know what I want done in this
> runlevel".

For what it's worth... the program "ntsysv" provides an interactive text
mode interface which might be a bit easier to work with than renaming links.
It's standard on RedHat... I'd be stunned if it wasn't widely available
on just about every other distribution too.

The only hard bit is remembering the name "ntsysv" which certainly doesn't
provide any mnemonic in my frame of reference for "that program that renames
the symlinks for you". Maybe debian has the same feature under a different
name (that wouldn't surprise me in the least).

- Tel  ( http://bespoke.homelinux.net/ )
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html