Re: [SLUG] CHeck script

2005-01-06 Thread mlh
On Thu, 6 Jan 2005 15:58:46 +1100 (EST)
Simon Bryan [EMAIL PROTECTED] wrote:

 Hi all,
 I am moving my users home directoires from one server to another and in
 the process standardising usernames such that about 300 need changing.
 Once I hav copied over the directories (cp -a) I will then need to rename
 some of the directories. I have a csv file with the format
 oldname,newname and a script to read it:
 
 #!/bin/bash
 while read name1 name2; do
  mv $name1 $name2
 # done  /home/OLMC/snap/rename.txt
 
 I have tested the script by changing the action to echo name1 echo name2
 and it worked fine. Can't test this easily without going live, whilst it

Simon,
I don't see how that could work.
1. the read will read the whole oldname,newname into $name1, since read 
doesn't understand commas
2. you've commented out the done!

Matt
-- 
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 wireless

2005-01-06 Thread Vino Fernando Crescini

 am newbie  using fc3 have down loaded prism54 driver have got so far in
 install says stuff about kernal tree dont know what to do
 help greatly appreciated

if i remember correctly, fc3 comes with a 2.6.9 kernel, which should
already have the prism54 driver. it is very likely that the driver is
already compiled in as a module. if this is so, you can try to load the
driver with:

  # modprobe prism54

from there you can use the wireless tools (iwconfig, etc.) or
whatever gui equivalent fedora provides to configure the wireless
device.
--
Vino Fernando Crescini
[EMAIL PROTECTED]
http://www.cit.uws.edu.au/~jcrescin

Scanned by SCIT E-Mail Gateway http://www.cit.uws.edu.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: Re: [SLUG] CHeck script

2005-01-06 Thread Vino Fernando Crescini

  Hi all,
  I am moving my users home directoires from one server to another and in
  the process standardising usernames such that about 300 need changing.
  Once I hav copied over the directories (cp -a) I will then need to rename
  some of the directories. I have a csv file with the format
  oldname,newname and a script to read it:
  
  #!/bin/bash
  while read name1 name2; do
   mv $name1 $name2
  # done  /home/OLMC/snap/rename.txt

if none of the names contain any whitespace or comma characters,
you can do the following:

 #!/bin/bash
tr ,/home/OLMC/snap/rename.txt | while read line; do
  mv $line
done


--
Vino Fernando Crescini
[EMAIL PROTECTED]
http://www.cit.uws.edu.au/~jcrescin

Scanned by SCIT E-Mail Gateway http://www.cit.uws.edu.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] Postgresql case-insensitive mishmash brain twister.

2005-01-06 Thread Angus Lees
At Thu, 6 Jan 2005 16:16:05 +1100 (EST), Stuart Guthrie wrote:
 So Debian seems to be initialising postgres dbs with the first of these
 collate sequences meaning that whatever 'C' is seems to return
 case-sensitive search results.
 
 Mandrake's standard RPM implements postgres with en_US collation sequences
 which means it sorts AaBbCcDd which is what I'd be hoping for.

Run dpkg-reconfigure --priority=low postgresql.  One of the
questions is what encoding you want to use by default (although since
you obviously *rely* on the encoding, then I'd suggest mentioning it
explicitly in the CREATE DATABASE statement anyway).

-- 
 - Gus

-- 
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 wireless

2005-01-06 Thread john

Don't forget to download the firmware.

J





dave collette [EMAIL PROTECTED]

Sent by: [EMAIL PROTECTED]
06/01/2005 05:18 PM




To
slug@slug.org.au


cc



Subject
[SLUG] how to wireless








hi to all 
am newbie using fc3 have down loaded prism54 driver have got so far
in
install says stuff about kernal tree dont know what to do
help greatly appreciated

ta
dave collette


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

-- 
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] Postgresql case-insensitive mishmash brain twister.

2005-01-06 Thread slug
Thanks Gus

I solved it with a dump/initdb --locale=/load. Possibly not the
deb-done-thing? I will get our friendly local deb-head to fix it all
nicely on return from Hols.

Works a treat.

Stu


 At Thu, 6 Jan 2005 16:16:05 +1100 (EST), Stuart Guthrie wrote:
 So Debian seems to be initialising postgres dbs with the first of these
 collate sequences meaning that whatever 'C' is seems to return
 case-sensitive search results.

 Mandrake's standard RPM implements postgres with en_US collation
 sequences
 which means it sorts AaBbCcDd which is what I'd be hoping for.

 Run dpkg-reconfigure --priority=low postgresql.  One of the
 questions is what encoding you want to use by default (although since
 you obviously *rely* on the encoding, then I'd suggest mentioning it
 explicitly in the CREATE DATABASE statement anyway).

 --
  - Gus



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


[SLUG] Local DNS Issue

2005-01-06 Thread Adam W
Hi,

I used to be able to get access to my linux box (mandrake 10.1) by
just calling it by its name. I have always been able to do this
without any config on the clients or the box (well except for
'hostname blah')

But now i cannot seem to do that. The clients dont know about the
linux box's name.

Why isnt the box broadcasting its name to the other puters now? It
*was* working, then all of a sudden, the next day it wasnt... and i
didnt change any settings and security isnt set real high on the box
(mandrake security setting)

Any ideas??

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


[SLUG] POP IMAP

2005-01-06 Thread jam
Hi

I've googled the wee-smalls.
I've asked SuSE support who said Go Hops, this is not a free
installation question, just like google said they would.
So in desperation ...

I have SuSE 9.2 pro installed (9.1 was the same)
SquirrelMail, Evolution POPing wont work.

Reason is that SuSE have disabled plain-text-passwords in pop and imap
daemons. I proved this by compiling RH9 src rpm, installing imapd, pop3d
and all is well.

The only nagging wurry is sending plaintest from all around the world
for SquirrelMail (yes! I do)

So can anybody enlighten me as to what one ought to be doing to get this
working. I use evolution locally as a secondry mailer for attachments
with POP, shock-horror-gasp I use elm, without meta-mail as the main
mailer, and IMAP for SquirrelMail.

Thanks
James
-- 
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] POP IMAP

2005-01-06 Thread Dean Hamstead

[EMAIL PROTECTED] wrote:
Hi
I've googled the wee-smalls.
I've asked SuSE support who said Go Hops, this is not a free
installation question, just like google said they would.
So in desperation ...
I have SuSE 9.2 pro installed (9.1 was the same)
SquirrelMail, Evolution POPing wont work.
Reason is that SuSE have disabled plain-text-passwords in pop and imap
daemons. I proved this by compiling RH9 src rpm, installing imapd, pop3d
and all is well.
The only nagging wurry is sending plaintest from all around the world
for SquirrelMail (yes! I do)
if squirrelmail is on an apache install that is on the mail server
then there are no passwords being sent unencrypted via imap
over the internet, they are just moving locally. if you want to offer
imap to your users but demand encrypted, but need plaintext for
squirelmail you might consider running a second imap daemon just
for squirelmail and blocking it off from the world. if imap is
just for squirelmail then you should definately be blocking it off.
there isnt a way to encrypt stuff from a web form except to run
with some ssl action. it is completely transparent to your webcontent
so squirelmail wouldnt even know the differnce.
go look around for how to install and setup apache+insert ssl mod
there are about three i think.
So can anybody enlighten me as to what one ought to be doing to get this
working. I use evolution locally as a secondry mailer for attachments
with POP, shock-horror-gasp I use elm, without meta-mail as the main
mailer, and IMAP for SquirrelMail.
Dean
--
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: POP IMAP (Dean Hamstead)

2005-01-06 Thread jam
Hi

  I've googled the wee-smalls.
  I've asked SuSE support who said Go Hops, this is not a free
  installation question, just like google said they would.
  So in desperation ...
  
  I have SuSE 9.2 pro installed (9.1 was the same)
  SquirrelMail, Evolution POPing wont work.
  
  Reason is that SuSE have disabled plain-text-passwords in pop and imap
  daemons. I proved this by compiling RH9 src rpm, installing imapd, pop3d
  and all is well.
  
  The only nagging wurry is sending plaintest from all around the world
  for SquirrelMail (yes! I do)
 
 if squirrelmail is on an apache install that is on the mail server
 then there are no passwords being sent unencrypted via imap
 over the internet, they are just moving locally. if you want to offer
 imap to your users but demand encrypted, but need plaintext for
 squirelmail you might consider running a second imap daemon just
 for squirelmail and blocking it off from the world. if imap is
 just for squirelmail then you should definately be blocking it off.
 
 there isnt a way to encrypt stuff from a web form except to run
 with some ssl action. it is completely transparent to your webcontent
 so squirelmail wouldnt even know the differnce.
 
 go look around for how to install and setup apache+insert ssl mod
 there are about three i think.
 
  So can anybody enlighten me as to what one ought to be doing to get this
  working. I use evolution locally as a secondry mailer for attachments
  with POP, shock-horror-gasp I use elm, without meta-mail as the main
  mailer, and IMAP for SquirrelMail.

Dean

thanks. This is not quite true however:

a) My daughter, hiking the Inca trail, stops at an internet cafe in a tiny 
   villege 4000m up the Peruvian alps, to get her mail (this is true)

   types her password into the browser, and it's probably safe in a benign
   environment, but this is not secure in a hostile environment.

b) I use evolution to read mail attachments, but dont want to interfere
   with my mbox, so I pop the mail from this machine (which is also my mail
   server) to do so.

What I'm trying to discover is how SuSE intended their pop and imap
daemons to work in this sort of enviroment, or how could they distribute
an unworkable SquirrelMail ?

James

-- 
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: POP IMAP (Dean Hamstead)

2005-01-06 Thread Mary Gardiner
On Fri, Jan 07, 2005, [EMAIL PROTECTED] wrote:
 a) My daughter, hiking the Inca trail, stops at an internet cafe in a tiny 
villege 4000m up the Peruvian alps, to get her mail (this is true)
 
types her password into the browser, and it's probably safe in a benign
environment, but this is not secure in a hostile environment.

Since Dean mentioned HTTP SSL (https) already, can we assume what you're
worried about here is keystroke logging or something of the kind? https
will protect the browser to server connection.

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