Re: [SLUG] A GhostView question.
In answer to Peter's question: I'm doing this from a terminal interface. Unsure of how to determine $DISPLAY When I type in xterm I am told: xterm Xt error: Can't open display: Bill Bennett. =+- =+- Are you doing this within X ? What's the value of $DISPLAY ? =+- Can you do =+- xterm =+- and what does it say when you try? =+- =+- -- =+- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au =+- You are lost in a maze of BitKeeper repositories, all slightly different. =+- =+- -- =+- SLUG - Sydney Linux User's Group - http://slug.org.au/ =+- More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Partition resize...
The other day I tried to use Knoppix to resize a partition but kept getting error messages about access denied. Is there something special you need to do to allow you to access drive paritions? Did you run the resize utility as root? The knoppix GUI starts up as user knoppix; to become root you need to switch to one of the consoles (ctrl-alt-1 for console 1, etc) and either do it from there, or set a root password (passwd) and go back to the gui and run su to become root. - Doug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ssh-agent passphrase-on-demand
On Tue, Jul 08, 2003 at 03:40:03PM +1000, Jamie Wilkinson wrote: Does anyone know of a way to have a single ssh-agent running on a machine per user, so that when they log in on the console, or via {k,g,x}dm, or ssh, only one ssh-agent is running? At boot time start one agent per user: su - $user -c ssh-agent ~$user/ssh-agent.sh then at each login run: eval `grep SSH_AUTH_SOCK ~/ssh-agent.sh`; export SSH_AUTH_SOCK ssh uses $SSH_AUTH_SOCK to talk to the agent. Does anyone know how to have ssh keys loaded into ssh-agent without having ssh-add ask for a passphrase, until that key is used? So I can have all the keys I use loaded at ssh-agent start, but I get prompted for a passphrase on the key only when ssh tries to use that key? Or perhaps a way for the key to get added to ssh-agent when ssh needs it? No idea, sorry. Cheers, John -- whois [EMAIL PROTECTED] GPG key id: 0xD59C360F http://kirriwa.net/john/ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ssh-agent passphrase-on-demand
On Tue, 8 Jul 2003, Jamie Wilkinson wrote: Hey slugs, 2 parts to this: Does anyone know of a way to have a single ssh-agent running on a machine per user, so that when they log in on the console, or via {k,g,x}dm, or ssh, only one ssh-agent is running? if you run ssh-agent without giving it a child command to run, then it outputs a bunch of stuff you can run in a shell command: SSH_AUTH_SOCK=/tmp/ssh-8e1dxwe3/agent.24927; export SSH_AUTH_SOCK; SSH_AGENT_PID=24928; export SSH_AGENT_PID; echo Agent pid 24928; You could pipe that to a file in the user's home directory which you will run as part of your login procedure, whether that be through a .xsession, a .profile, or whatever. You will need to be able to identify whether the agent is actually running or not, and start it if necessary. I'm guessing that $SSH_AUTH_SOCK dissapears when the agent dies. You also need to think about when the agent should die, and make that happen. As always, be aware that anyone who can connect to the agent socket can authenticate using whatever keys the agent has. You've got to trust the root user. I bring this up because if you're logging in via ssh, then it's worth thinking whether you should be logging in to somewhere else from there rather than connecting directly. Personally I don't like to put extra machines in the middle of the connection. Does anyone know how to have ssh keys loaded into ssh-agent without having ssh-add ask for a passphrase, until that key is used? So I can have all the keys I use loaded at ssh-agent start, but I get prompted for a passphrase on the key only when ssh tries to use that key? Or perhaps a way for the key to get added to ssh-agent when ssh needs it? That would be seriously insecure. Andrew -- No added Sugar. Not tested on animals. May contain traces of Nuts. If irritation occurs, discontinue use. --- Andrew McNaughton In Sydney Working on a Product Recommender System [EMAIL PROTECTED] Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
Bill == Bill Bennett [EMAIL PROTECTED] writes: Bill In answer to Peter's question: I'm doing this from a terminal Bill interface. Bill Unsure of how to determine $DISPLAY Bill When I type in xterm I am told: xterm Xt error: Can't open display: You have to be inside X to use Ghostscript. -- .''`. Jan Alonzo :: jmalonzo at spaceants dot org : :' : PGP fp: DB23 8CB2 E050 7737 B3C4 BB2C 5368 864B C70C 894A `. `' ID: C70C894A `- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ssh-agent passphrase-on-demand
On Tue, 2003-07-08 at 15:40, Jamie Wilkinson wrote: Hey slugs, 2 parts to this: Does anyone know of a way to have a single ssh-agent running on a machine per user, so that when they log in on the console, or via {k,g,x}dm, or ssh, only one ssh-agent is running? You may like keychain. Does anyone know how to have ssh keys loaded into ssh-agent without having ssh-add ask for a passphrase, until that key is used? So I can have all the keys I use loaded at ssh-agent start, but I get prompted for a passphrase on the key only when ssh tries to use that key? Or perhaps a way for the key to get added to ssh-agent when ssh needs it? I suspect this is impossible. The key is not usable until it's decrypted by the passphrase. Until it's decrypted, it can't be used in handshaking: thus all keys need to be known before the first ssh handshake of a given protocol. Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ssh-agent passphrase-on-demand
This one time, at band camp, Andrew McNaughton wrote: That would be seriously insecure. How so? The key couldn't be used until the passphrase was entered. I want my passphrases to be asked for on demand. keeping the *already passphrased* keys in ssh-agent all the time is insecure. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ssh-agent passphrase-on-demand
This one time, at band camp, Robert Collins wrote: On Tue, 2003-07-08 at 15:40, Jamie Wilkinson wrote: Hey slugs, 2 parts to this: Does anyone know of a way to have a single ssh-agent running on a machine per user, so that when they log in on the console, or via {k,g,x}dm, or ssh, only one ssh-agent is running? You may like keychain. Looks interesting. Who'd have thought something useful would come out of the gentoo project? :-) Does anyone know how to have ssh keys loaded into ssh-agent without having ssh-add ask for a passphrase, until that key is used? So I can have all the keys I use loaded at ssh-agent start, but I get prompted for a passphrase on the key only when ssh tries to use that key? Or perhaps a way for the key to get added to ssh-agent when ssh needs it? I suspect this is impossible. The key is not usable until it's decrypted by the passphrase. Until it's decrypted, it can't be used in handshaking: thus all keys need to be known before the first ssh handshake of a given protocol. Ok, thanks. I'll probably do something with a shell script wrapper that does the ssh-add for me depending on which host I'm connecting to, then. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] CD tracks and their intervals.
Many thanks for the reply. Well, padsize is listed as a track option, so it seems that I'll have to burn the disc manually, ie., cdrecord -multi -padsize=15x60x75s audiofile1 The -multi to ensure that I can add the next file; the -padsize to add the 15 seconds after audiofile1 After audiofile2, I'd command cdrecord -multi -padsize=30x60x75s audiofile3 Does this make sense so far? Regards, Bill. =+- The 'padsize=' option looks like a better bet. =+- =+- To pad the equivalent of 20 minutes on =+- a CD, you may write padsize=20x60x75s. =+- =+- So you might try padsize=30x75s (the s refers to sectors, not seconds.) =+- =+- The manual says this needs to be specified for each track though. =+- =+- The pad option seems to just increase the file by only a little until =+- the total size is a multiple of 2352 bytes. CD audio is 16bits per =+- channel at 44KHz, which works out to 176000 bytes per second, so 2352 =+- bytes is approximately bugger all ;) =+- =+- =+- =+- -- =+- Felix Sheldon [EMAIL PROTECTED] =+- =+- -- =+- SLUG - Sydney Linux User's Group - http://slug.org.au/ =+- More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] CD tracks and their intervals.
quote who=Bill Bennett Many thanks for the reply. Well, padsize is listed as a track option, so it seems that I'll have to burn the disc manually, ie., cdrecord -multi -padsize=15x60x75s audiofile1 The -multi to ensure that I can add the next file; the -padsize to add the 15 seconds after audiofile1 After audiofile2, I'd command cdrecord -multi -padsize=30x60x75s audiofile3 I'd think this should work: cdrecord padsize=15x60x75s audiofile1 ... padsize=30x60x75s audiofile3 ... -- Jan Schmidt [EMAIL PROTECTED] Have you been half-asleep? Have you heard voices? I've heard them calling my name... -Kermit the Frog (Rainbow Connection) -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
Unfortunately, you're right: I went back to Gnome and ran gv from the run application. Curses. Unfortunately, I upgraded from Redhat7 to 8. In 7, I used to be able to use gv at the command line. On reflection, I suspect a knowledgable friend, knowing that I was happier here, slipped in an alias. I don't suppose you could suggest one? I'm a bit out of my depth here. Regards, Bill. On Tue, Jul 08, 2003 at 04:23:05PM +1000, Mike Alonzo spake thusly: =+- Bill == Bill Bennett [EMAIL PROTECTED] writes: =+- =+- Bill In answer to Peter's question: I'm doing this from a terminal =+- Bill interface. =+- =+- Bill Unsure of how to determine $DISPLAY =+- =+- Bill When I type in xterm I am told: =+- =+- xterm Xt error: Can't open display: =+- =+- You have to be inside X to use Ghostscript. =+- =+- -- =+- .''`. Jan Alonzo :: jmalonzo at spaceants dot org =+- : :' : PGP fp: DB23 8CB2 E050 7737 B3C4 BB2C 5368 864B C70C 894A =+- `. `' ID: C70C894A =+-`- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] CD tracks and their intervals.
On Tue, 2003-07-08 at 16:42, Jan Schmidt wrote: quote who=Bill Bennett Many thanks for the reply. Well, padsize is listed as a track option, so it seems that I'll have to burn the disc manually, ie., cdrecord -multi -padsize=15x60x75s audiofile1 The -multi to ensure that I can add the next file; the -padsize to add the 15 seconds after audiofile1 After audiofile2, I'd command cdrecord -multi -padsize=30x60x75s audiofile3 I'd think this should work: cdrecord padsize=15x60x75s audiofile1 ... padsize=30x60x75s audiofile3 ... Maybe: cdrecord dev=whatever -audio padsize=15x75s track1 padsize=15x75s track2 padsize=30x75s track3 padsize=15x75s track4 etc. etc. 15x60x75s would be 15 *minutes* of silence at the end of the track. -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ssh-agent passphrase-on-demand
On Tue, 2003-07-08 at 16:53, Mikolaj Habryn wrote: On Tue, 2003-07-08 at 16:25, Robert Collins wrote: I suspect this is impossible. The key is not usable until it's decrypted by the passphrase. Until it's decrypted, it can't be used in handshaking: thus all keys need to be known before the first ssh handshake of a given protocol. Technically no. The ssh client advertises the public keys that it thinks it has matching private keys for, so the suggestion is eminently feasible. Just a SMOP. m, contemplating dusting off keymgr. Oh, thats good to know. (I didn't realise it was policy not technical limits)... Anyway, -t to ssh-add and ssh-agent seems to address the security concern Jamie has... Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
Bill == Bill Bennett [EMAIL PROTECTED] writes: Bill Unfortunately, you're right: I went back to Gnome and ran gv Bill from the run application. Bill Curses. Unfortunately, I upgraded from Redhat7 to 8. In 7, I Bill used to be able to use gv at the command line. On reflection, I Bill suspect a knowledgable friend, knowing that I was happier here, Bill slipped in an alias. I don't suppose you could suggest one? I'm Bill a bit out of my depth here. You can get a version of ghostscript to write to the VGA screen if your terminal is a VGA device, and you have svgalib installed. gs -sDEVICE=vga file.ps will display your postscript on the VGA screen. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Squid + Winbind + squirrelmail
Tried the use defualt domain = yes , but did not seem to work. This is authencticating through apache+pam Alex On Mon, Jul 07, 2003 at 09:39:55AM +1000, Alexander Samad wrote: Nope but I did try winbind use default domain = yes - whihc gave me an error, not sure where I got it from. Any way will give it a go and see what happens Thanks On Mon, Jul 07, 2003 at 08:29:26AM +1000, Simon Bryan wrote: Alexander Samad said: Well another 1/2 hour of playing with it fixed most of my problems, seems like there are 2 pwcheck programs, one compiled to check just /etc/shadow and the other to use the pam modules! so a quick reconfigure and bobs your uncle. But I still want to be able to map login ids to mailbox/email address. So that user ad+test has an email of [EMAIL PROTECTED] not [EMAIL PROTECTED] Have you set 'use default domain = yes' in smb.conf (check the actual command) that did the trick for me, users now don't have to login with the domain+username. Simon Bryan IT Manager OLMC Parramatta -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] request tracker -- worth it?
At Mon, 7 Jul 2003 22:45:14 +1000, mlh Matthew Hannigan wrote: How about gnats? Anyone work with that? I used/set it up once about 4 years ago. I probably prefer gnats to RT, but gnats is *heavily* email based so probably only suitable for power users (ie: people who are comfortable with text). We use RT at work and it works fine. The extent to which you can customise it (if you know perl) is a big plus - we've done all sorts of rude things to it (makes upgrading to RT3 harder though ;) (re interface: I think the dense interface is a plus too, since the people who use it use it every day. We don't have casual guest users like an open-source project might have) -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] CBD pressed distributions
Anyone know of a place in the CBD that sell various distributions on CD? Doesnt have to be pressed, looks nicer tho :) It would be good to know. -- Simon Males ([EMAIL PROTECTED]) Let them hate, so long as they fear -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] CBD pressed distributions
Simon Males wrote: Anyone know of a place in the CBD that sell various distributions on CD? Doesnt have to be pressed, looks nicer tho :) Dymocks has a few old ones (last time I saw, last year). Word is they also have the SLUG Debian CDs. - Chris [EMAIL PROTECTED] pgp0.pgp Description: PGP signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ssh-agent passphrase-on-demand
On Tue, 2003-07-08 at 16:25, Robert Collins wrote: I suspect this is impossible. The key is not usable until it's decrypted by the passphrase. Until it's decrypted, it can't be used in handshaking: thus all keys need to be known before the first ssh handshake of a given protocol. Technically no. The ssh client advertises the public keys that it thinks it has matching private keys for, so the suggestion is eminently feasible. Just a SMOP. m, contemplating dusting off keymgr. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [Debian-au] Re: [SLUG] Debian SIG Location..
On Tuesday 08 July 2003 02:46 am, Anand Kumria wrote: If anyone is interested in doing a (educational) pub crawl around Sydney to find a suitable location, let me know. seeing as i have been d/l'g the 4 debian ISOs over the last coupla nites (yes .. i have a slow connection) i think i still have enuff in me to put my hand up again for a bit more pain and suffering for this worthy cause ... 'slong as the time is ok .. advance notice will be appreciated... personally .. i have no probs with the WBH .. it was fairly easy to get to as i have a car.. plus i m not a regular attendee.. yet for those who work .. and have important gear to lug around and protect .. i m not too sure how any other venue would be different .. i mean .. things will still have to be kept locked in the boot of the car (undesirable but lots safer than leaving them in open view) .. and/or things will have to be carried around and brought into the meeting place (wherever that maybe) of cos i m not sure how much stuff folks carry around with them when they go to work... my own case feels like it is 20 kgs sometimes (when i do carry it around ...mmm must weigh it one day .. will get a chance next week ) .. underaged parties who r interested in debian can usually get into specified areas of most licensed premises if they are under supervision ... and a meeting spot like that at the WBH would most probably fall into that category ... i think .. any legal opinions on that from anyone?? or is one necessary??? :)) my 2c worth :) m -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Re: Debian SIG (Sydney) [July 9th]: rdesktop (TOMORROW)
On Tue, 08 Jul 2003, Matt Hope [EMAIL PROTECTED] wrote... This month, Matt Chapman, author of rdesktop[1] will be talking about where rdeskop has come from, where it is going to, and the obstacles along the way. 1: http://www.rdesktop.org/ Don't forget to bring your GPG keys, keys are good and need signing. http://sydney.debian.net/ Where: Woolloomooloo Bay Hotel - boardroom (upstairs) When: Wednesday, 11th of June 19:00 - 20:00 Sorry guys, the subject line had it right - its on the 9th of July. (Tomorrow, by my watch). Thanks to Mary and Jon for pointing this one out to me. Cost: $0 (plus food/drink) Misc: Dinner, alcohol are available Park: - Lincoln Cr (recommended, open til late) - Domain (closes 21:00) or - Beside the Bells Hotel PS: There is also some discussion about an alternate venue... -- dopey!debian.org http://www.debian.org/ pgp0.pgp Description: PGP signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Win4Lin MYOB - is it really this bad?
Thanks Mike In summary. Mike's point fixed this problem and now the multi-user access to MYOB is faster under Win4Lin than from a Win98 PC. This I like. The problem was back to good old permissions. It's still a bit unclear why Samba which assigns file permissions as the user logged on was different to the user logging on directly and assigning file permissions from win4lin. I've redefined the umask so that it will not happen again. Stu [EMAIL PROTECTED] wrote: Stuart, If you're accessing the data file locally, check that the permissions for the files and directories are the same as if from samba. MYOB achieves filesharing of data files via lockfiles, if one user logs into MYOB (creates a lockfile), and the other user can't read or modify that lockfile they will not be able to use the same MYOB data file under MYOB. I hope this is clear, and from the looks of things, its probably what's happening. (Ie. you access locally and it locks other users out as they don't have the priveleges to read/modify the lockfile.) Warmest regards Mike --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 *Stuart Guthrie [EMAIL PROTECTED]* Sent by: [EMAIL PROTECTED] 07/07/2003 04:35 PM To:[EMAIL PROTECTED] cc: Subject:[SLUG] Win4Lin MYOB - is it really this bad? Just wondering if anyone else has a major performance issue with running Win4Lin Server edition (within that MYOB Premier Accounts). I'm accessing a samba network drive from within the copy of win4lin so that the MYOB data can be shared across a company. This works OK for Win98 clients accessing the data, speed is OK. From Win4Lin, it sucks. Performance is about 1/5 the speed or worse. Accessing MYOB data directly from Win4Lin to file on same Linux Box is as fast as I could expect. Unfortunately, this will not allow the MYOB data file to be shared with the other users. Only accessing via MS Networking will allow this and that slows it down big time. I've also emailed support @ Netraverse but so far (ie 3 days ago) no response. As an alternative, has anyone tried crossover office with MYOB in Network 'file share' mode? Stu -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] CBD pressed distributions
On Wed, 2003-07-09 at 00:04, Chris Deigan wrote: Simon Males wrote: Anyone know of a place in the CBD that sell various distributions on CD? Doesnt have to be pressed, looks nicer tho :) Dymocks has a few old ones (last time I saw, last year). Word is they also have the SLUG Debian CDs. They did have the SLUG disk - the last few times that I have visited they have not had much. It seems to me that they are cutting back on Linux software. -- -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: +61 2 4782 2670 Mobile: +61 405 084 990 Fax: +61 2 4782 7092 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Linux box hanging on startup
Hi, I have a linux box which is hanging when it boots up. At this stage I am not as to why this has happened (hardware or software) but I am trying to work out what to do. I watch it go through the boot sequence and when it gets to the point where should give me a login prompt is just stops. So far I have managed to restart the box in rescue mode (i am using SuSE 7.2) and can successfully mount the hard disk. I am really trying to find information on what exactly is going wrong. I have been looking through the /var/log files and nothing jumps out. I realise there could be a million things going wrong but can anyone think of where I can look for clues? Does anyone know of anyone who offers a good linux doctor type service? thanks in advance dan -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Linux box hanging on startup
Hi, You say it stops but really you need to say what it does - you're assuming it stops. For instance, it might switch to a video mode that doesn't show you the prompt you expect and blithely waits for you to login as you always have. What do you see up until it stops, what do you see when it stops, and has it ever worked before? Is this a change in a working system, or an install that didn't complete successfully? If it was working, what did you attempt last (that changed something so the outcome is different now)? Cheers, Bret On Tue, 2003-07-08 at 18:33, Dan Banyard wrote: Hi, I have a linux box which is hanging when it boots up. At this stage I am not as to why this has happened (hardware or software) but I am trying to work out what to do. I watch it go through the boot sequence and when it gets to the point where should give me a login prompt is just stops. So far I have managed to restart the box in rescue mode (i am using SuSE 7.2) and can successfully mount the hard disk. I am really trying to find information on what exactly is going wrong. I have been looking through the /var/log files and nothing jumps out. I realise there could be a million things going wrong but can anyone think of where I can look for clues? Does anyone know of anyone who offers a good linux doctor type service? thanks in advance dan -- bwaldow at alum.mit.edu -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] A GhostView question.
`echo $DISPLAY` Warmest regards Mike --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 Bill Bennett [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 08/07/2003 04:03 PM Please respond to wbennett To:[EMAIL PROTECTED] cc: Subject:Re: [SLUG] A GhostView question. In answer to Peter's question: I'm doing this from a terminal interface. Unsure of how to determine $DISPLAY When I type in xterm I am told: xterm Xt error: Can't open display: Bill Bennett. =+- =+- Are you doing this within X ? What's the value of $DISPLAY ? =+- Can you do =+- xterm =+- and what does it say when you try? =+- =+- -- =+- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au =+- You are lost in a maze of BitKeeper repositories, all slightly different. =+- =+- -- =+- SLUG - Sydney Linux User's Group - http://slug.org.au/ =+- More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
Terry Collins wrote: As per subject, need a command line mailer that can send a file as an attachment. mutt works for me. Word is, pine might also be able to do this for you :-) - Chris [EMAIL PROTECTED] pgp0.pgp Description: PGP signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Linux box hanging on startup
Thanks for your help. Just found the problem - it seems some nice individual has hacked into the machine. I found they have added HTML files announcing this fact. This explains the strange behaviour. So who knows what they have done to the system. Looks like a day of re-installing the whole system. Thanks very much to those hackers. Dan - Original Message - From: Bret Comstock Waldow [EMAIL PROTECTED] To: Dan Banyard [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 10:02 AM Subject: Re: [SLUG] Linux box hanging on startup Hi, You say it stops but really you need to say what it does - you're assuming it stops. For instance, it might switch to a video mode that doesn't show you the prompt you expect and blithely waits for you to login as you always have. What do you see up until it stops, what do you see when it stops, and has it ever worked before? Is this a change in a working system, or an install that didn't complete successfully? If it was working, what did you attempt last (that changed something so the outcome is different now)? Cheers, Bret On Tue, 2003-07-08 at 18:33, Dan Banyard wrote: Hi, I have a linux box which is hanging when it boots up. At this stage I am not as to why this has happened (hardware or software) but I am trying to work out what to do. I watch it go through the boot sequence and when it gets to the point where should give me a login prompt is just stops. So far I have managed to restart the box in rescue mode (i am using SuSE 7.2) and can successfully mount the hard disk. I am really trying to find information on what exactly is going wrong. I have been looking through the /var/log files and nothing jumps out. I realise there could be a million things going wrong but can anyone think of where I can look for clues? Does anyone know of anyone who offers a good linux doctor type service? thanks in advance dan -- bwaldow at alum.mit.edu -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
Terry Collins wrote: As per subject, need a command line mailer that can send a file as an attachment. Its called 'mail' and yes it can send attachments. man mail Mike -- Mike Lake Uni of Technol., Sydney 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 - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Linux box hanging on startup
Dan Banyard wrote: Just found the problem - it seems some nice individual has hacked into the machine. I found they have added HTML files announcing this fact. This explains the strange behaviour. So who knows what they have done to the system. Thats quite nice of them. They are polite enough to tell you rather than leaving you in the dark and having back doors and things :-) What did they say in the HTML? Mike -- Mike Lake Uni of Technol., Sydney 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 - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [Debian-au] Re: [SLUG] Debian SIG Location..
So long as they always remains in the prescence of a responsible adult... Check the signage of the area if unsure... Warmest regards Mike - Bartending Certificate, RSA and RCG. (Just in case I decide that IT isn't lucrative for me anymore...) ;) --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 moise lim [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/07/2003 12:40 AM To:[EMAIL PROTECTED] cc: Subject:Re: [Debian-au] Re: [SLUG] Debian SIG Location.. On Tuesday 08 July 2003 02:46 am, Anand Kumria wrote: If anyone is interested in doing a (educational) pub crawl around Sydney to find a suitable location, let me know. seeing as i have been d/l'g the 4 debian ISOs over the last coupla nites (yes .. i have a slow connection) i think i still have enuff in me to put my hand up again for a bit more pain and suffering for this worthy cause ... 'slong as the time is ok .. advance notice will be appreciated... personally .. i have no probs with the WBH .. it was fairly easy to get to as i have a car.. plus i m not a regular attendee.. yet for those who work .. and have important gear to lug around and protect .. i m not too sure how any other venue would be different .. i mean .. things will still have to be kept locked in the boot of the car (undesirable but lots safer than leaving them in open view) .. and/or things will have to be carried around and brought into the meeting place (wherever that maybe) of cos i m not sure how much stuff folks carry around with them when they go to work... my own case feels like it is 20 kgs sometimes (when i do carry it around ...mmm must weigh it one day .. will get a chance next week ) .. underaged parties who r interested in debian can usually get into specified areas of most licensed premises if they are under supervision ... and a meeting spot like that at the WBH would most probably fall into that category ... i think .. any legal opinions on that from anyone?? or is one necessary??? :)) my 2c worth :) m -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
Michael Lake wrote: Terry Collins wrote: As per subject, need a command line mailer that can send a file as an attachment. Its called 'mail' and yes it can send attachments. man mail Thanks. hmm, we must have different versions as there is no mention of attachments in the version I have (sans rh5.0) as all I can do is send it as the message. I'm wanting to do something like for o in `ls -1' do mailer -a $o [EMAIL PROTECTED] done and prefeerably with an older mailer -- Terry Collins {:-)}}} email: terryc at woa.com.au www: http://www.woa.com.au Wombat Outdoor Adventures Bicycles, Computers, GIS, Printing, Publishing People without trees are like fish without clean water -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
uuencode filename filename again| mail USER -s Subject seems to work Jeff smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
Terry Collins wrote: Michael Lake wrote: Its called 'mail' and yes it can send attachments. man mail Thanks. hmm, we must have different versions as there is no mention of attachments in the version I have (sans rh5.0) as all I can do is send it as the message. Your right. My 'mail' on Linux does not mention attachments. Pine can do it though using the -attache file command line option. Something like this: \/ note semicolon for o in `ls -1'; do pine -attach $o [EMAIL PROTECTED] done Mike -- Mike Lake Uni of Technol., Sydney 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 - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
once again with a real address uuencode filename filename again| mail USER -s Subject seems to work Jeff smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Linux box hanging on startup
Hi, Not sure if this helps anyone but so far I have found: /var/log/message - /dev/null /var/log/wtmp - /dev/null They also created an HTML page called services.html and in it: YOU WERE HACKED!!!Welcome to ParadoX's Web`s Page there is also a whole load of other crap (some in Spanish/French or similar) I am just about to re-install the OS dan - Original Message - From: Michael Lake [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 10:34 AM Subject: Re: [SLUG] Linux box hanging on startup Dan Banyard wrote: Just found the problem - it seems some nice individual has hacked into the machine. I found they have added HTML files announcing this fact. This explains the strange behaviour. So who knows what they have done to the system. Thats quite nice of them. They are polite enough to tell you rather than leaving you in the dark and having back doors and things :-) What did they say in the HTML? Mike -- Mike Lake Uni of Technol., Sydney 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 - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Linux box hanging on startup
Hi Dan, Wow, that's amazing that it happened so quickly, and a very annoying hack, with symptoms the same as a failure to boot correctly. It would have been worse if you did not find out. Also, did you surf the net as root??? Brian At 11:45 AM 9/07/03 +1000, you wrote: Hi, Not sure if this helps anyone but so far I have found: /var/log/message - /dev/null /var/log/wtmp - /dev/null They also created an HTML page called services.html and in it: YOU WERE HACKED!!!Welcome to ParadoX's Web`s Page there is also a whole load of other crap (some in Spanish/French or similar) I am just about to re-install the OS dan -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
This one time, at band camp, Terry Collins wrote: As per subject, need a command line mailer that can send a file as an attachment. Robert Collins had a nifty little program called mailfile that he used to send the notes I took at the last SLUGlets to me, I guess it's just a simple wrapper around mail(1). -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
My version of mail doesn't do attachments, so I wrote a simple script to do the job. It's attached. The interface is similar to that for mail. Andrew On Wed, 9 Jul 2003, Terry Collins wrote: Date: Wed, 09 Jul 2003 10:58:11 +1000 From: Terry Collins [EMAIL PROTECTED] To: Michael Lake [EMAIL PROTECTED] Cc: Slug List [EMAIL PROTECTED] Subject: Re: [SLUG] command Line mailer that can send an attachment Michael Lake wrote: Terry Collins wrote: As per subject, need a command line mailer that can send a file as an attachment. Its called 'mail' and yes it can send attachments. man mail Thanks. hmm, we must have different versions as there is no mention of attachments in the version I have (sans rh5.0) as all I can do is send it as the message. I'm wanting to do something like for o in `ls -1' do mailer -a $o [EMAIL PROTECTED] done and prefeerably with an older mailer -- No added Sugar. Not tested on animals. May contain traces of Nuts. If irritation occurs, discontinue use. --- Andrew McNaughton In Sydney Working on a Product Recommender System [EMAIL PROTECTED] Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc #!/usr/local/bin/perl # # amail - a command line tool for sending files as mail attachments # # fairly similar in style to 'mail' # # usage: # # amail [-s Subject] [-c Cc] [-b Bcc] [-r Reply-to] # [-f From] [[-a attachment_file] ,...] address, ... # # # addresses may optionally be preceded by -t, in which # case they may appear anywhere in the command line # # # # Copyright (C) 2000, Andrew McNaughton. # Distributed under the terms of the Perl Artistic License # use MIME::Entity; unless (@ARGV) { print END_USAGE; Usage: amail [-s Subject] [-c Cc] [-b Bcc] [-r Reply-to] [-f From] [[-a attachment_file] ,...] address, ... END_USAGE exit } my %types = qw( .ai application/postscript .aifc audio/x-aiff .aiff audio/x-aiff .au audio/basic .binapplication/octet-stream .c text/plain .c++text/plain .cc text/plain .cdfapplication/x-netcdf .cshapplication/x-csh .dump application/octet-stream .dviapplication/x-dvi .epsapplication/postscript .exeapplication/octet-stream .gifimage/gif .gtar application/x-gtar .gz application/gzip .gzip application/gzip .h text/plain .hdfapplication/x-hdf .hqxapplication/mac-binhex40 .html text/html .jarapplication/java-archive .jfif image/jpeg .jpeimage/jpeg .jpeg image/jpeg .jpgimage/jpeg .mime message/rfc822 .mpeg video/mpeg .mpgvideo/mpeg .nc application/x-netcdf .pdfapplication/pdf .phptext/html .pjpimage/jpeg .pjpeg image/jpeg .pl text/x-perl .pngimage/png .ps application/postscript .rgbimage/x-rgb .rtfapplication/x-rtf .saveme application/octet-stream .sh application/x-sh .shar application/x-shar .sitapplication/x-stuffit .sndaudio/basic .srcapplication/x-wais-source .tarapplication/x-tar .tclapplication/x-tcl .textext/plain .text text/plain .tifimage/tiff .tiff image/tiff .txttext/plain .uu application/octet-stream .wsrc application/x-wais-source .xwdimage/x-xwd .zipapplication/x-zip-compressed ); my %encodings = ( 'text' = 'quoted-printable', 'image' =
Re: [SLUG] command Line mailer that can send an attachment
On Wed, 2003-07-09 at 11:14, Jamie Wilkinson wrote: This one time, at band camp, Terry Collins wrote: As per subject, need a command line mailer that can send a file as an attachment. Robert Collins had a nifty little program called mailfile that he used to send the notes I took at the last SLUGlets to me, I guess it's just a simple wrapper around mail(1). mail-files. It's part of sharutils IIRC. Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Linux box hanging on startup
[EMAIL PROTECTED] wrote on 09-07-2003 12:37:29 PM: Hi, They obviously set things so I could not reboot or find out what is going on. The first thing I discovered was that they had change the index.html file on the web server - I thought something had gone astray so rebooted and that is when it all started. I never surfed the net as rootand thought I had the box locked down - only open ports were the normal ones (80, 21, 22) etc. I have no idea how they got in but maybe it was through SSH (I might have a older version that could be hacked). There was no telnet or anything like that. I would have thought the more likely culprit would either be your webserver, or ftp server. Check the security advisories released after the versions you are running. Cheers, Scott -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Win4Lin MYOB - is it really this bad?
Thanks for the acknowlegement Stu, MYOB can be a tad tricky because of that... I find the create-mask, directory-mask and force-group options of the MYOB setting to be useful. (Unsure that group permissions are set correctly.) Once you know it though, it's a breeze... Warmest regards Mike --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 Stuart Guthrie [EMAIL PROTECTED] 09/07/2003 07:24 AM To:[EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:Re: [SLUG] Win4Lin MYOB - is it really this bad? Thanks Mike In summary. Mike's point fixed this problem and now the multi-user access to MYOB is faster under Win4Lin than from a Win98 PC. This I like. The problem was back to good old permissions. It's still a bit unclear why Samba which assigns file permissions as the user logged on was different to the user logging on directly and assigning file permissions from win4lin. I've redefined the umask so that it will not happen again. Stu [EMAIL PROTECTED] wrote: Stuart, If you're accessing the data file locally, check that the permissions for the files and directories are the same as if from samba. MYOB achieves filesharing of data files via lockfiles, if one user logs into MYOB (creates a lockfile), and the other user can't read or modify that lockfile they will not be able to use the same MYOB data file under MYOB. I hope this is clear, and from the looks of things, its probably what's happening. (Ie. you access locally and it locks other users out as they don't have the priveleges to read/modify the lockfile.) Warmest regards Mike --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 *Stuart Guthrie [EMAIL PROTECTED]* Sent by: [EMAIL PROTECTED] 07/07/2003 04:35 PM To:[EMAIL PROTECTED] cc: Subject:[SLUG] Win4Lin MYOB - is it really this bad? Just wondering if anyone else has a major performance issue with running Win4Lin Server edition (within that MYOB Premier Accounts). I'm accessing a samba network drive from within the copy of win4lin so that the MYOB data can be shared across a company. This works OK for Win98 clients accessing the data, speed is OK. From Win4Lin, it sucks. Performance is about 1/5 the speed or worse. Accessing MYOB data directly from Win4Lin to file on same Linux Box is as fast as I could expect. Unfortunately, this will not allow the MYOB data file to be shared with the other users. Only accessing via MS Networking will allow this and that slows it down big time. I've also emailed support @ Netraverse but so far (ie 3 days ago) no response. As an alternative, has anyone tried crossover office with MYOB in Network 'file share' mode? Stu -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildirstructure
I dont know about the Maildirs but I think you will find that it is actually the client that knows whether the mail has been read or not. I remember formatting my PC and reinstalling before and when I checked my mail they were all unread. Adam. On Wed, 2003-07-09 at 14:28, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
no i don't believe so. i use uwimapd (mailfile not maildir) and state is maintained when viewing through different clients, in fact different clients on different machines. brett Adam Hewitt wrote: I dont know about the Maildirs but I think you will find that it is actually the client that knows whether the mail has been read or not. I remember formatting my PC and reinstalling before and when I checked my mail they were all unread. Adam. On Wed, 2003-07-09 at 14:28, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- Brett Fenton General Manager NetRegistry Pty Ltd ___ http://www.netregistry.com.au/ Tel: +61 2 96996099 | Fax: +61 2 96996088 PO Box 270 Broadway | NSW 2007, Australia Your Total Internet Business Services Provider Trusted by 10,000s of Oz Businesses Since 1997 This email is from NetRegistry Pty Ltd. The contents of this message are commercial and in confidence to the intended addresseee. The message may contain copyrighted and/or legally priviledged information. No person or entity other than the intended recipient may read, print or store this message, including any and all attached files. The intended recipient may not forward this message to any third party without express written permission from NetRegistry Pty Ltd. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to CyrusMaildir structure
well then, I will just climb back into my box shall I ;) Adam. On Wed, 2003-07-09 at 14:44, Brett Fenton wrote: no i don't believe so. i use uwimapd (mailfile not maildir) and state is maintained when viewing through different clients, in fact different clients on different machines. brett Adam Hewitt wrote: I dont know about the Maildirs but I think you will find that it is actually the client that knows whether the mail has been read or not. I remember formatting my PC and reinstalling before and when I checked my mail they were all unread. Adam. On Wed, 2003-07-09 at 14:28, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildirstructure
On 9/07/2003 4:50 PM +1200, Andrew McNaughton wrote: If you have a mail client talking to both the old and new servers at once, it might be as easy to just move the messages from one folder to another using that client. The mail would all have to move through the client, but it might be faster than writing a script. IF you can do it with a mail client on the mail server then that stands in for your script pretty well. If it was for only one client, sure (even though not many mail clients copy a bunch of folders across IMAP servers) but we're talking 200+ users here :) Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
mutt -s SUBJECT -a ATTACHMENT [EMAIL PROTECTED] /dev/null ... the /dev/null redirection is useful from the command line so that mutt doesn't ask you any more silly questions. Multiple -a attachment are accepted. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
Hi Slightly differnt question, can I create cyrus mail boxes just by creating the directories or do I have to use the cyrus-adm prog. Looking to try and sync cyrus with getent passwd Alex On Wed, Jul 09, 2003 at 02:28:20PM +1000, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug pgp0.pgp Description: PGP signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
Erm... (Forgive my ignorance if I'm wrong...) Don't Courier, Cyrus and Maildrop all use the same format - ie the Maildir format. (Courier made Maildrop which can be used with Cyrus, right?) Have you copied the dirs, and taken a shot at seeing if they just work? Warmest regards Mike --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 Adam Hewitt [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/07/2003 02:39 PM To:Gonzalo Servat [EMAIL PROTECTED] cc:SLUG [EMAIL PROTECTED] Subject:Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildirstructure I dont know about the Maildirs but I think you will find that it is actually the client that knows whether the mail has been read or not. I remember formatting my PC and reinstalling before and when I checked my mail they were all unread. Adam. On Wed, 2003-07-09 at 14:28, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] command Line mailer that can send an attachment
This one time, at band camp, Terry Collins [EMAIL PROTECTED] wrote: Michael Lake wrote: Terry Collins wrote: As per subject, need a command line mailer that can send a file as an attachment. Its called 'mail' and yes it can send attachments. man mail for o in `ls -1'; do mail -s Subject goes here [EMAIL PROTECTED] cave.jpeg done re Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildirstructure
On 9/07/2003 3:14 PM +1000, Alexander Samad wrote: Hi Slightly differnt question, can I create cyrus mail boxes just by creating the directories or do I have to use the cyrus-adm prog. Looking to try and sync cyrus with getent passwd AFAIK, you need to use the cyradm utility. Best regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
On Wed, 9 Jul 2003, Gonzalo Servat wrote: Date: Wed, 09 Jul 2003 15:02:51 +1000 From: Gonzalo Servat [EMAIL PROTECTED] To: Andrew McNaughton [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure On 9/07/2003 4:50 PM +1200, Andrew McNaughton wrote: If you have a mail client talking to both the old and new servers at once, it might be as easy to just move the messages from one folder to another using that client. The mail would all have to move through the client, but it might be faster than writing a script. IF you can do it with a mail client on the mail server then that stands in for your script pretty well. If it was for only one client, sure (even though not many mail clients copy a bunch of folders across IMAP servers) but we're talking 200+ users here :) Fair enough. You might still find it convenient to look at IMAP client libraries rather than thinking in terms of the mail folders. eg if perl suits you then Mail::IMAPClient 's migrate method looks like the sort of thing you are after. You would have to be able to handle the authentication stuff. Andrew -- No added Sugar. Not tested on animals. May contain traces of Nuts. If irritation occurs, discontinue use. --- Andrew McNaughton In Sydney Working on a Product Recommender System [EMAIL PROTECTED] Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Cron + CD-R wierdness
G'day, Explanation Got a cron job which runs @ 7pm every week night to backup folders in /home/shares (smb shares). When run manually (/etc/cdbackup) everything works fine, and the CD burns with the right datestamps on the tar files. The cron job does run, cause theres an eject /cdrom line at the end of the script, and the CD does eject itself. However when left to its own devices it doesn't appear that nothing gets written to the CD, even tho the output off the screen is the same as when executed manually. Related files for reference are below TIA. --- start /etc/cdbackup dump --- #!/bin/bash DOCOMPRESS=YES DOIMAGE=YES DOBURN=YES clear echo -e COMMENCING DAILY BACKUP =\n\n cd /home/shares rm -f *.cd rm -f *.tar touch `date +%a-%d%m`.cd if [ $DOCOMPRESS = YES ] then echo -e Compressing echo -e Store1 Data tar czf store1.tar store1/ echo -e Finished\n fi if [ $DOIMAGE = YES ] then echo -e Deleting previous nights CD Image File rm -f cdimage.raw echo -e Creating CD Image File mkisofs -R -o cdimage.raw *.tar fi if [ $DOBURN = YES ] then echo -e Writing CD cdrecord -v -eject speed=4 blank=fast dev=0,0,0 cdimage.raw wait umount /cdrom eject /cdrom fi echo -e Finished\n echo -e Backup Completed backup.log date backup.log echo -e =\n\n cd - --- end /etc/cdbackup dump --- --- start /var/spool/cron/crontabs/root --- # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.81mSF5 installed on Wed Jul 9 14:36:22 2003) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) 0 19 * * 1-5 /etc/cdbackup --- end /var/spool/cron/crontabs/root --- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug