[SLUG] apt-get and FC
Hi all, I am wanting to use apt-get with FC1 and all works fine, except it wants to remove a program I want to keep (ltsp-floppyd - which is used to allow the thin client users to access their local floppy drive). Can I tell it to upgrade but not remove? Can't see it in the options. Yum fails on the dependency check, specifically on gtkam-gimp, we use and need Gimp. -- Simon Bryan IT Manager OLMC Parramatta -- 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] Anyone have any experience with Kiosks?
On Mon, 28 Jun 2004, Paul Robinson wrote: Hi Sluggers, Trying to lock down a RH9 box so that it automatically logs in as a kiosk user and then starts up a FireFox browser window only (no window manager). I've achieved this to an extent - The only thing that doesn't work is the keyboard. I can move the mouse and click on links but I cannot type anything into the browser. Is anyone aware of anything screwy with the way X handles the keyboard if there's no window manager. My memory of the days before gnome and kde were pretty standard was that the keyboard would still work. Yes. This is a known bug - I contratc for Red hat and ack when the RHCE involved a multi choice test (using a web browser as the sole app), this bug made itself apparent. Killing X then re-logging in will provide a work around. But check bugzilla to see if there's a fix. 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] Dell notebook. Any experiences
On Sat, 26 Jun 2004, James Gray wrote: On Fri, 25 Jun 2004 08:28 am, Ben Donohue wrote: Hi Slugs, I'm just about to purchase a Dell Inspiron notebook. (Taxtime) It comes with XP but Linux will definitely be loaded on as well. I have a Dell Inspiron 8500, and run FC2. You might be buying a newer 8600, which is the same thing. Linux on the Inspiron 8500 --- The Broadcom network card works out of the box The WXGA widescreen works fine The multimedia keys work find in Gnome 2.6 TheDVD burner works ok I use NVIDIAs drivers to get good performance from the GeForce. UT2K4 works great. Dell Truemobile 1400 wireless a/b/g card works fine using Windows driver and ndiswrapper, which is easy to install and get working. The inbuilt bluetooth does not work. Buy a USB bluetooth adapter. Would I Buy a Dell Again No. Apple sell a laptop with a comparable screen that's 2 kilos as opposed to the Dell's 3 kilos. Dell support is shithouse. They're polite and completely unhelpful. Spare parts take 2 1/2 months to arrive, they can't proactively give you a tracking number to watch your order. Then they loose your payment and biull you twice. And they don't respond to email. Sure they'll apologize, but they won't fix the problem. 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] Anyone have any experience with Kiosks?
Is the bug purely on RH9? If not, which common distro's aren't affected? Fedora? (assuming they might have fixed it when it branched) or Debian perhaps? Cheers, Paul - Original Message - From: Mike MacCana [EMAIL PROTECTED] To: Paul Robinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 28, 2004 5:52 PM Subject: Re: [SLUG] Anyone have any experience with Kiosks? On Mon, 28 Jun 2004, Paul Robinson wrote: Hi Sluggers, Trying to lock down a RH9 box so that it automatically logs in as a kiosk user and then starts up a FireFox browser window only (no window manager). I've achieved this to an extent - The only thing that doesn't work is the keyboard. I can move the mouse and click on links but I cannot type anything into the browser. Is anyone aware of anything screwy with the way X handles the keyboard if there's no window manager. My memory of the days before gnome and kde were pretty standard was that the keyboard would still work. Yes. This is a known bug - I contratc for Red hat and ack when the RHCE involved a multi choice test (using a web browser as the sole app), this bug made itself apparent. Killing X then re-logging in will provide a work around. But check bugzilla to see if there's a fix. Mike -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] statically linked versions of samba and cups
hi all, does anyone know where I can get some static binaries of smbd, nmbd, and cupsd, I want to incorperate these into a smoothwall installation because the person I'm giving the installation too needs specifically a print server/router and smoothwall is the easiest way I can think of giving them what they want. unless anyone knows of another such distro that contains what I need. thanks in advance. -- Shaun Oliver I refuse to have a battle of wits with an unarmed person. email: [EMAIL PROTECTED] WEB: http://blindman.homelinux.org/~blindman/ IRC: irc.awesomechat.net: IRCNICK: blindman -- 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] statically linked versions of samba and cups
On Mon, Jun 28, 2004 at 10:56:41PM EST, Shaun Oliver wrote: hi all, does anyone know where I can get some static binaries of smbd, nmbd, and cupsd, I want to incorperate these into a smoothwall installation because the person I'm giving the installation too needs specifically a print server/router and smoothwall is the easiest way I can think of giving them what they want. Have you looked at Clark Connect? http://www.clarkconnect.com? It is RPM based, and can do everything that Smoothwall can do, and also comes with Samba, Cups and the rest, as far as I know anyway. What is more, it can be administered from a web-based interface. hth Luke -- 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] statically linked versions of samba and cups
might have a look at that -- Shaun Oliver I refuse to have a battle of wits with an unarmed person. email: [EMAIL PROTECTED] WEB: http://blindman.homelinux.org/~blindman/ IRC: irc.awesomechat.net: IRCNICK: blindman -- 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] statically linked versions of samba and cups
On 06/28/04 22:56, Shaun Oliver wrote: does anyone know where I can get some static binaries of smbd, nmbd, and cupsd, Pete's 10 second guide to building static binaries: Download and extract source tarball. $ export CFLAGS=-static $ export LDFLAGS=-static Follow the package directions for compiling source. This should work for any package that uses autoconf (and luckily both samba and CUPS do :-D). If you run a ./configure script as part of the build process, you should be sweet. The environment variables define options to add to the compiler and linker command lines respectively. I'm not sure if you need to set the CFLAGS - that's just how I've been doing it. Certainly doesn't do any harm. :-) It's worthwhile running file(1) on the executables you end up building. It'll tell you if they really did end up static. Then strip(1) them, and you're ready to clag them wherever they need to be. If file says the binary is dynamically linked, or if your source package doesn't recognise the environment variables, then you may need to manually edit makefiles and add -static to the linker command line. HTH, -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] St George Internet Banking
Hi there, I think there might have been some discussion on this once before, (before I had joined the list) because I seem to remember finding some threads on an online archive from this group. Has *anyone* had any success in accessing St George Internet Banking, using linux - with any combination of java virtual machine and browser... I have tried netscape, mozilla, firefox with Sun's JVM but have had no luck. I even tried using Cedega (winex4) and crossover office to install MSIE (hey if I only use it for one thing it may as well be the thing that requires the best security ;) ) and the windows version of firefox, but to no avail... I'd really love to hear from anyone who has successfully done this... 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] St George Internet Banking
[EMAIL PROTECTED] wrote: Has *anyone* had any success in accessing St George Internet Banking, using linux - with any combination of java virtual machine and browser... Mozilla 1.4 Java Blackdown-1.4.1-01 PrefBar 1.2.1 set to Moz 1.0 Win98 John -- 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] St George Internet Banking
On Tue, Jun 29, 2004, [EMAIL PROTECTED] wrote: Has *anyone* had any success in accessing St George Internet Banking, using linux - with any combination of java virtual machine and browser... I am accessing it successfully with: Mozilla Firefox 0.8 (Debian build 0.8-9) Sun's JRE JVM 1.4.2 (1.4.2_03 from java.sun.com) User-Agent set to: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 (I use the User Agent Switcher at http://extensionroom.mozdev.org/more-info/useragentswitcher to set the User-Agent). -Mary -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] tax office dummy spit
I've just gone to the ATO site to download the latest tax scale (search for form NAT 1005 from the ATO home page) and what I get is a file called distributor.asp, which is obviously some M$ crap. Since I steadfastly refuse to run a windows box on principle, what can I do with it to turn it into useful information? Is there any GOOD reason why the ATO should not provide the information as something like a tab-delimited spreadsheet format, given the essential and public nature of the data? Grrr -- 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] tax office dummy spit
David wrote: I've just gone to the ATO site to download the latest tax scale (search for form NAT 1005 from the ATO home page) and what I get is a file called distributor.asp, which is obviously some M$ crap. Since I steadfastly refuse to run a windows box on principle, what can I do with it to turn it into useful information? Is there any GOOD reason why the ATO should not provide the information as something like a tab-delimited spreadsheet format, given the essential and public nature of the data? I searched for NAT 1005 and get these two hits 1. Pay as you go (PAYG) withholding - weekly tax table incorporating medicare levy with and without leave loading Current from: 27 May 2004 2. Pay as you go (PAYG) withholding tax tables - weekly rates incorporating medicare levy with or without leave loading Both are html links that end up loading a PDF for me. Im using Mozilla on Debian Linux. -- 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] tax office dummy spit
On Tue, Jun 29, 2004, David wrote: I've just gone to the ATO site to download the latest tax scale (search for form NAT 1005 from the ATO home page) and what I get is a file called distributor.asp , which is obviously some M$ crap. It sounds like an error actually, unless .asp has a different, additional, meaning that I'm not aware of. ASP scripts are meant to be interpreted server-side, you should have received the output of the script (HTML normally). Have you looked in the file? -Mary -- 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] tax office dummy spit
On Tue, Jun 29, 2004 at 10:04:46AM +1000, David wrote: Since I steadfastly refuse to run a windows box on principle, what can I do with it to turn it into useful information? Is there any GOOD reason why the ATO should not provide the information as something like a tab-delimited spreadsheet format, given the essential and public nature of the data? Because Billy sucks as hard as his software? To identify what it is, try running the magical 'file' command (it truly is magic, I love it) over the file in question. Oddly though, I just went looking for Form 1005 on the ATO website. I got two hits -- both for PAYG witholding tables. Clicked on the one for next FY, got a PDF, downloaded, viewed fine. Perchance your browser isn't looking at the HTTP headers properly? The link is http://www.ato.gov.au/distributor.asp?doc=/content/44998.htm -- which means that, by default, the save name of the document will be 'distributor.asp' (since that's the name of the file you're accessing). But pages can override that by setting the Content-Disposition header, which the ATO appears to be doing. So what you probably have is a PDF in that distributor.asp file you've got. So, for once, it's not Gatesware screwing up, it's your browser. Particularly ironic is that fact that, had the same error turned up on a Windows box, you could have had all sorts of troubles renaming it so a PDF reader would actually deign to read it... - 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] tax office dummy spit
thanks to those who replied.. it's true that I jumped to conclusions, assuming that ATO assumed that I'm using windows (something they have done in the past!). It is in fact a PDF file masquerading with .asp, and opens fine on my OSX box simply by asking it to open the file with acrobat. Now I have to pull it apart to get the information I REALLY need. On Tue, 29 Jun 2004, Matthew Palmer wrote: On Tue, Jun 29, 2004 at 10:04:46AM +1000, David wrote: Since I steadfastly refuse to run a windows box on principle, what can I do with it to turn it into useful information? Is there any GOOD reason why the ATO should not provide the information as something like a tab-delimited spreadsheet format, given the essential and public nature of the data? Because Billy sucks as hard as his software? To identify what it is, try running the magical 'file' command (it truly is magic, I love it) over the file in question. Oddly though, I just went looking for Form 1005 on the ATO website. I got two hits -- both for PAYG witholding tables. Clicked on the one for next FY, got a PDF, downloaded, viewed fine. Perchance your browser isn't looking at the HTTP headers properly? The link is http://www.ato.gov.au/distributor.asp?doc=/content/44998.htm -- which means that, by default, the save name of the document will be 'distributor.asp' (since that's the name of the file you're accessing). But pages can override that by setting the Content-Disposition header, which the ATO appears to be doing. So what you probably have is a PDF in that distributor.asp file you've got. So, for once, it's not Gatesware screwing up, it's your browser. Particularly ironic is that fact that, had the same error turned up on a Windows box, you could have had all sorts of troubles renaming it so a PDF reader would actually deign to read it... - 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 - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Anyone have any experience with Kiosks?
Don't know, check bugzilla. Mike -- __ Mike MacCana ConsultantRHCX, MCSE, MCP+I 0419 394 504 On Mon, 28 Jun 2004, Paul Robinson wrote: Is the bug purely on RH9? If not, which common distro's aren't affected? Fedora? (assuming they might have fixed it when it branched) or Debian perhaps? Cheers, Paul - Original Message - From: Mike MacCana [EMAIL PROTECTED] To: Paul Robinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 28, 2004 5:52 PM Subject: Re: [SLUG] Anyone have any experience with Kiosks? On Mon, 28 Jun 2004, Paul Robinson wrote: Hi Sluggers, Trying to lock down a RH9 box so that it automatically logs in as a kiosk user and then starts up a FireFox browser window only (no window manager). I've achieved this to an extent - The only thing that doesn't work is the keyboard. I can move the mouse and click on links but I cannot type anything into the browser. Is anyone aware of anything screwy with the way X handles the keyboard if there's no window manager. My memory of the days before gnome and kde were pretty standard was that the keyboard would still work. Yes. This is a known bug - I contratc for Red hat and ack when the RHCE involved a multi choice test (using a web browser as the sole app), this bug made itself apparent. Killing X then re-logging in will provide a work around. But check bugzilla to see if there's a fix. Mike -- 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] tax office dummy spit
On Tue, Jun 29, 2004 at 10:35:55AM +1000, David wrote: It is in fact a PDF file masquerading with .asp, and opens fine on my OSX box simply by asking it to open the file with acrobat. Now I have to pull it apart to get the information I REALLY need. Yeah -- finding out it's a PDF doesn't really help with the core issue at hand... Supplying it in a trivially importable format would kill half of MYOB's renewal sales, though... - 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] Flooded mail queue
WE have a sendmail installation that is trying to process a queue of some 1.8 million emails - mostly, as far as I can tell, double bounce, virus laden stuff. Of course, sendmail is going into overload, and slowing the machine down enormously, and given that the emails are double-bounce, to no avail. But i tried to delete the queue with rm * in /var/spool/mqueue, but got Argument list too long. Can I just delete the mqueue directory? If so, will sendmail re- create it on the fly, or do I need to manually re-create it? Edwin Humphries, Ironstone Technology Pty Ltd [EMAIL PROTECTED] www.ironstone.com.au Phone: 02 4233 2285 Fax: 02 4233 2299 Mobile: 0419 233 051 -- 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] Flooded mail queue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Jun 2004 11:15 am, Edwin Humphries wrote: WE have a sendmail installation that is trying to process a queue of some 1.8 million emails - mostly, as far as I can tell, double bounce, virus laden stuff. Of course, sendmail is going into overload, and slowing the machine down enormously, and given that the emails are double-bounce, to no avail. But i tried to delete the queue with rm * in /var/spool/mqueue, but got Argument list too long. Can I just delete the mqueue directory? If so, will sendmail re- create it on the fly, or do I need to manually re-create it? Here the way I'd approach it: 1. Stop sendmail (killall -TERM sendmail) 2. Rename the existing queue directory mv /var/spool/mqueue /var/spool/mqueue.old. 3. Create a NEW /var/spool/mqueue directory with the same permissions as the previous one. 4. Restart sendmail. Now you can do whatever you need to on the /var/spool/mqueue.old directory and sendmail will just chug along like it always has. Once you've cleaned up the mqueue.old directory, just copy the queue files over to the working mqueue directory and sendmail will just process them :) HTH James - -- There can be no twisted thought without a twisted molecule. -- R. W. Gerard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA4MTpwBHpdJO7b9ERAh3tAJ9KqyUQoixuslwGDHrh3YwSi3ePlACfYUvC XqFyNwjxQov7FZr/OFI5n5M= =AN34 -END PGP 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] Flooded mail queue
On Tue, 2004-06-29 at 11:15, Edwin Humphries wrote: Of course, sendmail is going into overload, and slowing the machine down enormously, and given that the emails are double-bounce, to no avail. But i tried to delete the queue with rm * in /var/spool/mqueue, but got Argument list too long. cd /var/spool/mqueue; ls | xargs rm That's the way I prefer, but it's certainly not the only one. :-) xargs will split the arguments up in to chunks that are under the maximum argument list, and feed each chunk to a seperate rm process. It's pretty awesome - check the man page. I'd recommend using this in conjunction with James' advice for maximum happy fun mail time. -- Pete -- 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] Flooded mail queue
On Tue, 2004-06-29 at 10:45, Edwin Humphries wrote: WE have a sendmail installation that is trying to process a queue of some 1.8 million emails - mostly, as far as I can tell, double bounce, virus laden stuff. Of course, sendmail is going into overload, and slowing the machine down enormously, and given that the emails are double-bounce, to no avail. But i tried to delete the queue with rm * in /var/spool/mqueue, but got Argument list too long. Deleting huge numbers of files: find /var/spool/mqueue -type f -exec rm -f {} \; or find /var/spool/mqueue -type f -print | xargs /bin/rm -f or for minimal downtime in your scenario cd /var/spool /sbin/service sendmail stop mv mqueue mqueue-1 mkdir mqueue chown --reference mqueue-1 mqueue chmod --reference mqueue-1 mqueue /sbin/service sendmail start rm -rf /var/spool/mqueue-1 Cheers, Glen -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Help with Samba on Webmin
Hi all, I'm having a hard time using Webmin to administer a box running Samba. The idea is for the client to use Webmin to fully administer the fileserver; from creating users to setting up share permissions, etc. The problem I'm currently having is, using Webmin to create a share for Samba ends up with owner and group of the share directory set to root. This makes writing to the share in Windows not possible. I've gone through a lot of documentation on the web and haven't found anything which points out what I could be doing wrong. Of course I'm open to other suggestions on what else could be used instead. I tried using SWAT but it doesn't create the actual directories when you create the shares for Samba so this requires a few extra steps which could make it complicated for the Windows user. Ideally I'd like the client to avoid touching the Linux machine as much as possible. Making it easier than doing it on Windows is preferable. Thanks in advance, Matthew. -- 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] Flooded mail queue
Peter Hardy wrote: cd /var/spool/mqueue; ls | xargs rm Doesn't it barf on the ls with the same message? -- 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 Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Flooded mail queue
Edwin Humphries wrote: ...snip.. But i tried to delete the queue with rm * in /var/spool/mqueue, but got Argument list too long. try for o in 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i .X Y Z do echo $o something like rm $o* done I use if for tossing my spam into monthly folders. -- 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 Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Flooded mail queue
On Tue, 2004-06-29 at 12:03, Terry Collins wrote: Peter Hardy wrote: cd /var/spool/mqueue; ls | xargs rm Doesn't it barf on the ls with the same message? You had me worried for a minute. :-) [EMAIL PROTECTED]:~$ mkdir tmp [EMAIL PROTECTED]:~$ cd tmp [EMAIL PROTECTED]:~/tmp$ for filename in `seq 1 5`; do touch $filename; done *go and have lunch* [EMAIL PROTECTED]:~/tmp$ rm * bash: /bin/rm: Argument list too long [EMAIL PROTECTED]:~/tmp$ ls | xargs rm [EMAIL PROTECTED]:~/tmp$ ls [EMAIL PROTECTED]:~/tmp$ ls doesn't actually deal with any arguments, it's basically just dumping the contents of the . inode to stdout. (note: claim may be wildly inaccurate and simplistic) And just to add to the obscure ls arguments thread, I just discovered -1, to output one filename per line. I've never needed this, as GNU ls seems to default to that when it's outputting to a pipe. But it's good to know! -- Pete -- 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] Flooded mail queue
Peter Hardy wrote: On Tue, 2004-06-29 at 12:03, Terry Collins wrote: Peter Hardy wrote: cd /var/spool/mqueue; ls | xargs rm Doesn't it barf on the ls with the same message? You had me worried for a minute. :-) [EMAIL PROTECTED]:~$ mkdir tmp [EMAIL PROTECTED]:~$ cd tmp [EMAIL PROTECTED]:~/tmp$ for filename in `seq 1 5`; do touch $filename; done *go and have lunch* [EMAIL PROTECTED]:~/tmp$ rm * bash: /bin/rm: Argument list too long [EMAIL PROTECTED]:~/tmp$ ls | xargs rm [EMAIL PROTECTED]:~/tmp$ ls [EMAIL PROTECTED]:~/tmp$ Okay, you are correct Hmm, guess who has never used just ls {:-) ...snip. And just to add to the obscure ls arguments thread, I just discovered -1, to output one filename per line. I've never needed this, as GNU ls seems to default to that when it's outputting to a pipe. Not debian woody {:-) It just dumps with a couple of spaces between each filename. -- 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 Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Flooded mail queue
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Humphries Sent: Tuesday, 29 June 2004 11:16 AM To: [EMAIL PROTECTED] Subject: [SLUG] Flooded mail queue WE have a sendmail installation that is trying to process a queue of some 1.8 million emails - mostly, as far as I can tell, double bounce, virus laden stuff. Ouch :-) Of course, sendmail is going into overload, and slowing the machine down enormously, and given that the emails are double-bounce, to no avail. But i tried to delete the queue with rm * in /var/spool/mqueue, but got Argument list too long. Can I just delete the mqueue directory? If so, will sendmail re- create it on the fly, or do I need to manually re-create it? Try this... Locate the offending spammer IP addresses then run... find . -name 'qf*' -type f |xargs grep -l $ip |sed s/qf/df/g |xargs rm find . -name 'qf*' -type f |xargs grep -l $ip |xargs rm That should clean your queue while leaving those legitimate messages that are just waiting for delivery. Edwin Humphries, Ironstone Technology Pty Ltd [EMAIL PROTECTED] www.ironstone.com.au Phone: 02 4233 2285 Fax: 02 4233 2299 Mobile: 0419 233 051 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html --- Ben Lisle Pacific Internet | Engineer, IT Operations [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] ssh command
I am trying to get SOPHOS to update automatically on my linux servers as well as all the MS servers and workstations, in fact the MS ones all work nicely - updated every four hours. The instructions for doing this in Linux are given below, can anyone tell me what they mean by a 'shared area' and how that ssh command is supposed to work?...and what's a 'trust relationship' in Linux? Cheers SImon If you have multiple, networked Unix computers, you may want to install and update Sophos Anti-Virus from a central directory, rather than carrying out installation at each computer separately. This procedure assumes that there is a trust relationship between the computers. 1. On one Unix computer, set up a shared area that is available to all the other computers. 2. Untar the Sophos Anti-Virus for Unix distribution archive or archives to this shared area. If you have computers on your network that use more than one Unix operating system (e.g. Linux and FreeBSD), untar the distribution archive for each system into a separate directory. 3. Use ssh to run the install.sh script on every connected Unix computer, from the shared area. For example, enter ssh -l [username] [hostname] / .install.sh where [username] is your user ID and [hostname] is the computer on which you want to install Sophos Anti-Virus. In each case, ensure that you run install.sh from the correct set of distribution files for that computer?s operating system. On older Unix computers, ssh may not be available. You can use rsh instead, though it is less secure. Step 3 can be put into a script which is run from one of your Unix computers. -- Simon Bryan IT Manager OLMC Parramatta -- 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] Flooded mail queue
Thanks for all the suggestions. I've learned something. But I used James Gray's early suggestion: rename the mqueue directory, create another with the same ownership and permissions, and restart sendmail. Everything seems to be working OK. May not have been quite as cool a solution as some of the others, but if it's working ... On 29 Jun 2004 at 15:09, Ben Lisle wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Humphries Sent: Tuesday, 29 June 2004 11:16 AM To: [EMAIL PROTECTED] Subject: [SLUG] Flooded mail queue WE have a sendmail installation that is trying to process a queue of some 1.8 million emails - mostly, as far as I can tell, double bounce, virus laden stuff. Ouch :-) Of course, sendmail is going into overload, and slowing the machine down enormously, and given that the emails are double-bounce, to no avail. But i tried to delete the queue with rm * in /var/spool/mqueue, but got Argument list too long. Can I just delete the mqueue directory? If so, will sendmail re- create it on the fly, or do I need to manually re-create it? Try this... Locate the offending spammer IP addresses then run... find . -name 'qf*' -type f |xargs grep -l $ip |sed s/qf/df/g |xargs rm find . -name 'qf*' -type f |xargs grep -l $ip |xargs rm That should clean your queue while leaving those legitimate messages that are just waiting for delivery. Edwin Humphries, Ironstone Technology Pty Ltd [EMAIL PROTECTED] www.ironstone.com.au Phone: 02 4233 2285 Fax: 02 4233 2299 Mobile: 0419 233 051 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html --- Ben Lisle Pacific Internet | Engineer, IT Operations [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html Edwin Humphries, Ironstone Technology Pty Ltd [EMAIL PROTECTED] www.ironstone.com.au Phone: 02 4233 2285 Fax: 02 4233 2299 Mobile: 0419 233 051 -- 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] Help with Samba on Webmin
Matthew We do this, but we set up the directories for the customers in advance from the console. They can create sub-directories from their Windows clients if your have create mask and directory mask set to 0777, and the sub- directories will be world readable. If when they create users from Webmin, you have it set to also create the /home directory, and share those through samba, each person can also have private information on the server. Works great for us (unless I've completely missed your point!) On 29 Jun 2004 at 11:28, Matthew Tse wrote: Hi all, I'm having a hard time using Webmin to administer a box running Samba. The idea is for the client to use Webmin to fully administer the fileserver; from creating users to setting up share permissions, etc. The problem I'm currently having is, using Webmin to create a share for Samba ends up with owner and group of the share directory set to root. This makes writing to the share in Windows not possible. I've gone through a lot of documentation on the web and haven't found anything which points out what I could be doing wrong. Of course I'm open to other suggestions on what else could be used instead. I tried using SWAT but it doesn't create the actual directories when you create the shares for Samba so this requires a few extra steps which could make it complicated for the Windows user. Ideally I'd like the client to avoid touching the Linux machine as much as possible. Making it easier than doing it on Windows is preferable. Thanks in advance, Matthew. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html Edwin Humphries, Ironstone Technology Pty Ltd [EMAIL PROTECTED] www.ironstone.com.au Phone: 02 4233 2285 Fax: 02 4233 2299 Mobile: 0419 233 051 -- 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] ssh command
Simon Bryan wrote: I am trying to get SOPHOS to update automatically on my linux servers as well as all the MS servers and workstations, in fact the MS ones all work nicely - updated every four hours. The instructions for doing this in Linux are given below, can anyone tell me what they mean by a 'shared area' and how that ssh command is supposed to work?...and what's a 'trust relationship' in Linux? Cheers SImon If you have multiple, networked Unix computers, you may want to install and update Sophos Anti-Virus from a central directory, rather than carrying out installation at each computer separately. This procedure assumes that there is a trust relationship between the computers. 1. On one Unix computer, set up a shared area that is available to all the other computers. Probably NFS share 2. Untar the Sophos Anti-Virus for Unix distribution archive or archives to this shared area. If you have computers on your network that use more than one Unix operating system (e.g. Linux and FreeBSD), untar the distribution archive for each system into a separate directory. 3. Use ssh to run the install.sh script on every connected Unix computer, from the shared area. For example, enter ssh -l [username] [hostname] / .install.sh where [username] is your user ID and [hostname] is the computer on which you want to install Sophos Anti-Virus. In each case, ensure that you run install.sh from the correct set of distribution files for that computer?s operating system. On older Unix computers, ssh may not be available. You can use rsh instead, though it is less secure. Step 3 can be put into a script which is run from one of your Unix computers. The ssh command logs on to a remote computer and executes a given command (at least that's what the given syntax of the ssh command does. I've found Sophos phone support pretty good - and they even talk Linux (or at least I've spoken to someone who does). Fil -- -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html