Re: [SLUG] looking for Ye olde tape drive
I believe that I have a drive that can read that beasty. That 486 that I was talking about has an old Wangtek QIC tape drive that I've just got working, tested it and all is hunky dory. If you want to bring in the tape to the IEEE lab I'll dump the data on to a CD for you. Pete. -- The real cause of your computer problem according to the BOFH: Your packets were eaten by the terminator pgp0.pgp Description: PGP signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Apache-SSL and the 68MB file
Hi, I'm running Apache-SSL (Debian testing's apache-ssl package) on a server. It places two files in /tmp, session_mm_apache0.mem and session_mm_apache0.sem I found session_mm_apache0.mem filling up /tmp this afternoon, having reached 68 MB in size[1]. Is this usual, or unusual? If unusual, what can I do to stop the file getting so large? If this turns out to be a quirk of Apache-SSL I'll switch to Apache with mod_ssl. -Mary [1] I don't have the opportunity to change the partition size on this machine. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] lpnr to cups printer configuration
I've looked at how Redhat 9 configures cups. /etc/printcap /etc/printconf /etc/printcap.local Also Redhat has a switch script for changing LPNR to CUPS, but the howto written by Redhat is on the GUI switch application. I will look closely on now Redhat does this switching printing systems. Craig PS I used to work for Gilbarco On Sat, 2003-07-26 at 23:13, Angus Lees wrote: At Sat, 26 Jul 2003 12:19:41 +1000, David Kempe wrote: or there is a way to get cups to write out /etc/printcap from memory, the woody version of cups writes a /etc/printcap.cups you should be able to symlink /etc/printcap to that file (if you actually need /etc/printcap. you should be using native cups support where possible.) -- Craig Warner [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] connecting Mandrake MNF with telstra?
Has anyone had issues connecting Mandrake MNF with Telstra? I was just wondering what country would you select with Mandrake when you have only belgium, uk, france, us, netherland, italy? -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Auto Mount
On Sun, 27 Jul 2003, Md. Ashraful Alam wrote: Can any one suggest me ...how i can automount the cdrom in Redhat 7.1 ? You could install an rpm of autofs, and then to mount the floppy on /mnt/floppy and the cdrom on /mnt/cdrom (you'll need to mkdir the ones you need I think) you do something like this: # vi /etc/auto.master add: /mnt /etc/auto.floppy timeout=10 # vi /etc/auto.floppy add: floppy -fstype=auto,rw,user,nodev,uid=guest :/dev/fd0 cdrom -fstype=iso9660,r,user,uid=guest :/dev/cdrom # vi /etc/fstab remove cdrom and floppy entries # service autofs reload I haven't tested this, I saw it on a page about a webcafe but you get the idea. Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Re: Apache-SSL and the 68MB file
On Sun, 27 Jul 2003 17:36:21 +1000, Mary wrote: Hi, I'm running Apache-SSL (Debian testing's apache-ssl package) on a server. It places two files in /tmp, session_mm_apache0.mem and session_mm_apache0.sem I found session_mm_apache0.mem filling up /tmp this afternoon, having reached 68 MB in size[1]. Is this usual, or unusual? If unusual, what can I do to stop the file getting so large? If this turns out to be a quirk of Apache-SSL I'll switch to Apache with mod_ssl. From memory it is - switch. There are plenty of other good thing about using mod_ssl that will make it worthwhile. Anand -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] SMP kernel?
I have a small question - I purchased a new machine on the weekend, P4 3ghz with HT. Do I need to update my kernel to an SMP one to gain the use of hyper-threading? thanks, Lyle Chapman Pre-Press Supervisor Torch Publishing Co. www.torchpublishing.com.au 47 Allingham Street, Condell Park 2200, NSW, Australia (02) Ph: 9795 (02) Fax: 9795 0096 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] SMP kernel?
Having just been through this ... yes. Recompile with SMP support and enable the Hyperthreading in BIOS if it's not already. The 2.4.21 kernel will be ok. You'll be able to then see both processors in /proc/cpuinfo If you want to see both processors in top, you'll need to recompile the package that provides it from source. Regards Brett Fenton Lyle Chapman wrote: I have a small question - I purchased a new machine on the weekend, P4 3ghz with HT. Do I need to update my kernel to an SMP one to gain the use of hyper-threading? thanks, Lyle Chapman Pre-Press Supervisor Torch Publishing Co. www.torchpublishing.com.au 47 Allingham Street, Condell Park 2200, NSW, Australia (02) Ph: 9795 (02) Fax: 9795 0096 -- 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
[SLUG] DBD::mysql install probs
I'm trying to install DBD::mysql and get this: --- Making and installing DBD::mysql .. Untarring module file Executing gunzip -c /tmp/.webmin/DBD-mysql-2.9002.tar.gz | tar xvf - .. DBD-mysql-2.9002/ DBD-mysql-2.9002/t/ .. lines skipped .. DBD-mysql-2.9002/constants.h DBD-mysql-2.9002/TODO Compiling module Executing /usr/bin/perl Makefile.PL make .. I will use the following settings for compiling and testing: cflags(mysql_config) = -I'/usr/include' libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb(default ) = test testhost (default ) = testpassword (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Using DBI 1.21 installed in /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI Writing Makefile for DBD::mysql cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm cp lib/Mysql.pm blib/lib/Mysql.pm gcc -c -I/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI -I'/usr/include' -fno-strict-aliasing -I /usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\2.9002\ -DXS_VERSION=\2.9002\ -fPIC - I/usr/lib/perl5/5.6.1/i386-linux/CORE dbdimp.c In file included from dbdimp.c:29: dbdimp.h:31:49: mysql.h: No such file or directory dbdimp.h:32:49: errmsg.h: No such file or directory make: *** [dbdimp.o] Error 1 Installation of DBD::mysql failed. Check the output above and try installing manually. You can also install the module from CPAN with the command perl -MCPAN -e shell - where am I going rwong, do I need mysql.h and errmsg.h ? Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] updating kernel, rebbot after ?
I've used RHNetwork to update kernel on RH7.3 from 2.4.20-18.7 to 2.4.20-19.7. RHN reports: - This action's status is: Completed. Client execution returned Packages were installed successfully (code 0) Errata Affected: * RHSA-2003:238-14 (Updated 2.4 kernel fixes vulnerabilities) - what do I now need to reload the (new) kernel...? reboor or what else ? Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] updating kernel, rebbot after ?
On Sun, Jul 27, 2003, Voytek Eymont wrote: what do I now need to reload the (new) kernel...? reboor or what else ? Reboot. -Mary -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Skirmish - the time has come again
Last november a group of sluggers had an awesome day fighting it out at paintball! So now the wounds are healed, and the need has returned! Have anyone you want to take out? Invite them along. We'll all be expecting as many of the SLUG committee to come along as possible, just because we love you guys so much and want to spend some quality time with you ;) - Date: Sunday 28th September - Time: 8:00am for an 8:30am book-in. We play till 3.30pm - Meeting Place:We'll meet at the KFC at Windsor again. From there we have the car-congo-line to the place. We leave KFC 8.15am on the dot. If you're late, you'll have to find your own way to the place. Map to both the KFC and place is at http://www.paintball.com.au/map.html - Travel: Let me know if you need - Immediate cost: $20 deposit (payable directly to Pia prior to the day. Last year I was out of pocket due to people slacking off at the last minute :| ) - Other Costs: I've managed to get VIP prices again :) I'll try to make this clear. The deposit goes towards the cost, so if you choose an $80 package, you need to give me $20 deposit now, (which I pay straight to the place now to reserve your spot) and you pay the other $60 on the day. Every package includes all protection equipment, lunch, tea and coffee, and of course the gun. Packages: #2 200X Paintballs $44 #3 300x paintballs $65 #4 400x paintballs $80 #5 500x paintballs $100 #7 700x paintballs $120 Extra paintballs $22 per 100 - Info at: www.paintball.com.au I've tentatively booked 50 spots. RSVP as soon as possible, I need to lock in numbers by August 21st (it's very busy atm). Sweet! Let's kick some ass Pia PS - for anyone from SLUG who came last year and brought friends, let know again, as I can't source the addresses I had from the last time. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] SMP kernel?
On Mon, 2003-07-28 at 09:04, Brett Fenton wrote: Having just been through this ... yes. Recompile with SMP support and enable the Hyperthreading in BIOS if it's not already. The 2.4.21 kernel will be ok. You'll be able to then see both processors in /proc/cpuinfo If you want to see both processors in top, you'll need to recompile the package that provides it from source. What options did you need to set or change when recompiling top? I'm curious because when I had a real double processor system top displayed both processors without the need for any intervention... also, what about gkrellm then? Does it need to be recompiled as well? - Grrr...Arrgh! -- Mutant -- 09:53:20 up 1 day, 23:04, 1 user, load average: 0.00, 0.00, 0.00-- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] SAMBA 3 as PDC error joing the domain.
G'day all, I have Samba 3 beta 3 running on a RH9 box,(OpenLDAP backend) trying to make it a PDC. Everything seems to be working ok except I cannot add a machine to the domain. Windows XP client, (registry seatings changed) after I enter the admin user account details I get the following error message... The user name could not be found. I can do an LDAP search using the filters I got out of the logfile and it returns ok, I can connect to a share using the login details in LDAP. Just not sure what exactly is failing, TIA for any ideas, extra debugging tips etc. ---Gareth -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Finding all config files... (Debian question))
Hi, I'm trying to set up a backup strategy. What I want to find is all the configuration files for the various installed packages. Some are obvious (/etc/apache/http.d.conf, /etc/passwd) Others are not (/usr/lib/python2.2/site-packages/MoinMoin/config.py). Is there a way of extracting from the dpkg information a list of all changed configuration files? Dpkg must know this info... Peter C -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Finding all config files... (Debian question))
Is what you want explicitly 'config' files, or is it a list of any files which have been modified from the distribution version? Would comparing checksums with the original files do the trick? Presumably there's not much need to back up config scripts which are known to be unchanged from the originally distributed version. Depending on the system, you can get local configuration stuff worked into a lot of places the package maintainer may not have expected. Sometimes the configuration files don't cover everything you need to customise and you wind up doctoring a script or something of the sort. I haven't used these, but debsums or dlocate might do what you need for comparing checksums. Restoring all modified files could have a downside of course in the event that you are recovering after a security compromise. You could wind up recovering exactly the thing you're trying to eradicate by restoring from backup. Andrew On Mon, 28 Jul 2003, Peter Chubb wrote: Hi, I'm trying to set up a backup strategy. What I want to find is all the configuration files for the various installed packages. Some are obvious (/etc/apache/http.d.conf, /etc/passwd) Others are not (/usr/lib/python2.2/site-packages/MoinMoin/config.py). Is there a way of extracting from the dpkg information a list of all changed configuration files? Dpkg must know this info... Peter C -- 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] Disk Access Speed
Sorry one more question to annoy everybody with, I have installed a new 80gb seagate drive and the problem is when I copy something to or from it I am getting a woeful 3 mb/sec transfer speed. I ran hdparm -Tt /dev/hda and the result was the cache access was reporting the right speed but disk access was 3.5meg/sec (pathetic) I ran hdparm again and turned all the go faster bits on, this increased it to 5.5 meg/sec. Although I did notice that I get a DMA error in hdparm when trying to turn DMA on. Any ideas anyone, thanks? Lyle Chapman Pre-Press Supervisor Torch Publishing Co. www.torchpublishing.com.au 47 Allingham Street, Condell Park 2200, NSW, Australia (02) Ph: 9795 (02) Fax: 9795 0096 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] Disk Access Speed
Does this drive share an IDE channel with an optical drive? If the CD/DVD drive resides on the same IDE channel (/dev/hdb), the transfer speeds will default to the slower device's speed... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lyle Chapman Sent: Monday, 28 July 2003 11:34 AM To: [EMAIL PROTECTED] Subject: [SLUG] Disk Access Speed Sorry one more question to annoy everybody with, I have installed a new 80gb seagate drive and the problem is when I copy something to or from it I am getting a woeful 3 mb/sec transfer speed. I ran hdparm -Tt /dev/hda and the result was the cache access was reporting the right speed but disk access was 3.5meg/sec (pathetic) I ran hdparm again and turned all the go faster bits on, this increased it to 5.5 meg/sec. Although I did notice that I get a DMA error in hdparm when trying to turn DMA on. Any ideas anyone, thanks? Lyle Chapman Pre-Press Supervisor Torch Publishing Co. www.torchpublishing.com.au 47 Allingham Street, Condell Park 2200, NSW, Australia (02) Ph: 9795 (02) Fax: 9795 0096 -- 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] Disk Access Speed
On Mon, Jul 28, 2003 at 11:34:10AM +1000, Lyle Chapman wrote: Sorry one more question to annoy everybody with, I have installed a new 80gb seagate drive and the problem is when I copy something to or from it I am getting a woeful 3 mb/sec transfer speed. Are you running it under 2.4.21? I've had really slow speeds on HDD access under 2.4.21, and I'm told it's because something got broken in IDE DMA in that kernel version. Luckily the machine I'm running it on is only my firewall, so HDD speed isn't important. - Matt -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Disk Access Speed
I haven't really tuned anything for this. The newer 2.4 kernels mostly optimize the disk paramaters. Presently I've got a 120GB WD disk in the box. hdparm revels: /dev/hda: Timing buffer-cache reads: 128 MB in 0.15 seconds =853.33 MB/sec Timing buffered disk reads: 64 MB in 1.42 seconds = 45.07 MB/sec Which is okay for what I use the disk with. I remeber a while back playing with hdparm and getting the reads up around 60MB/s from memory. I think you'll need to look in the IDE/ATAPI section of the kernel config there is options there *from memory* for use DMA by default and another option that escapes me for optimized use of DMA. Brett Lyle Chapman wrote: Sorry one more question to annoy everybody with, I have installed a new 80gb seagate drive and the problem is when I copy something to or from it I am getting a woeful 3 mb/sec transfer speed. I ran hdparm -Tt /dev/hda and the result was the cache access was reporting the right speed but disk access was 3.5meg/sec (pathetic) I ran hdparm again and turned all the go faster bits on, this increased it to 5.5 meg/sec. Although I did notice that I get a DMA error in hdparm when trying to turn DMA on. Any ideas anyone, thanks? Lyle Chapman Pre-Press Supervisor Torch Publishing Co. www.torchpublishing.com.au 47 Allingham Street, Condell Park 2200, NSW, Australia (02) Ph: 9795 (02) Fax: 9795 0096 -- 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] Disk Access Speed
I've got 2.4.21 and the IDE/DMA seems to be fine. Brett Matthew Palmer wrote: On Mon, Jul 28, 2003 at 11:34:10AM +1000, Lyle Chapman wrote: Sorry one more question to annoy everybody with, I have installed a new 80gb seagate drive and the problem is when I copy something to or from it I am getting a woeful 3 mb/sec transfer speed. Are you running it under 2.4.21? I've had really slow speeds on HDD access under 2.4.21, and I'm told it's because something got broken in IDE DMA in that kernel version. Luckily the machine I'm running it on is only my firewall, so HDD speed isn't important. - Matt -- 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
[SLUG] editing passwd: alters home dir location ? or
If I edit /etc/passwd from user.org.au:x:517:517:user.org.au:/home/user.org.au:/bin/false to user.org.au:x:517:517:user.org.au:/home/user.org.au/www:/bin/false am I altering the users' root ? or, the location where ftp will log him to ? what I'm trying to do is: I have web users, all they need, is to ftp (or, scp) files to their web server root, they do not need or have shell/telnet/ssh access. I now have: /home/user1.com.au (owned by root) /home/user1.com.au/www (owned by user1.com.au) ftp login takes user to /home/user1.com.au will I cause any probs editing /etc/passwd so ftp login will take user to /home/user1.com.au/www directly ? (hmmm, now that I typed it up, I'm not sure anymore if I should do that, anyhow) (and, thanks to all for the help so far) Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] editing passwd: alters home dir location ? or
I dunno that exercise sounds a little hairy to me. Maybe I have not had the nads trying to give root something as insane and insecure as ftp access. By giving root access to ftp root will have complete access to all files regardless what it's home directory should be. If I edit /etc/passwd from user.org.au:x:517:517:user.org.au:/home/user.org.au:/bin/false to user.org.au:x:517:517:user.org.au:/home/user.org.au/www:/bin/false am I altering the users' root ? or, the location where ftp will log him to ? what I'm trying to do is: I have web users, all they need, is to ftp (or, scp) files to their web server root, they do not need or have shell/telnet/ssh access. I now have: /home/user1.com.au(owned by root) /home/user1.com.au/www(owned by user1.com.au) ftp login takes user to /home/user1.com.au will I cause any probs editing /etc/passwd so ftp login will take user to /home/user1.com.au/www directly ? (hmmm, now that I typed it up, I'm not sure anymore if I should do that, anyhow) (and, thanks to all for the help so far) Voytek Eymont -- Regards, Kevin Saenz Spinaweb Your one stop shop for I.T solutions. Ph: 02 4620 5130 Fax: 02 4625 9243 Mobile: 0418455661 Web: http://www.spinaweb.com.au -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] editing passwd: alters home dir location ? or
Hi Voytek, I have used the process you describe with now problem several times, so don´t worry about using it. You can also use the vipw command instead of editing the files directly. This will avoid passwd/shadow inconsistencies. Cheers... Enrique Vila.- -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Voytek Eymont Enviado el: Monday, July 28, 2003 12:55 PM Para: [EMAIL PROTECTED] Asunto: [SLUG] editing passwd: alters home dir location ? or If I edit /etc/passwd from user.org.au:x:517:517:user.org.au:/home/user.org.au:/bin/false to user.org.au:x:517:517:user.org.au:/home/user.org.au/www:/bin/false am I altering the users' root ? or, the location where ftp will log him to ? what I'm trying to do is: I have web users, all they need, is to ftp (or, scp) files to their web server root, they do not need or have shell/telnet/ssh access. I now have: /home/user1.com.au (owned by root) /home/user1.com.au/www (owned by user1.com.au) ftp login takes user to /home/user1.com.au will I cause any probs editing /etc/passwd so ftp login will take user to /home/user1.com.au/www directly ? (hmmm, now that I typed it up, I'm not sure anymore if I should do that, anyhow) (and, thanks to all for the help so far) Voytek Eymont -- 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] editing passwd: alters home dir location ? or
Be a little careful. If the user's home directory is accessible from the web then various dot files in their home directory might become accessible. If you don't trust the users then you might not even want to give them access to what the system thinks of as their home directories. My preferred solution is to use ncftpd as my ftp server which gives far more configurability than most ftp servers, and should make it easy for you to set the default directory on log in, and access to different directories without messing with the user's home directory in /etc/passwd. Andrew McNaughton On Mon, 28 Jul 2003, Voytek Eymont wrote: Date: Mon, 28 Jul 2003 12:55:07 From: Voytek Eymont [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [SLUG] editing passwd: alters home dir location ? or If I edit /etc/passwd from user.org.au:x:517:517:user.org.au:/home/user.org.au:/bin/false to user.org.au:x:517:517:user.org.au:/home/user.org.au/www:/bin/false am I altering the users' root ? or, the location where ftp will log him to ? what I'm trying to do is: I have web users, all they need, is to ftp (or, scp) files to their web server root, they do not need or have shell/telnet/ssh access. I now have: /home/user1.com.au(owned by root) /home/user1.com.au/www(owned by user1.com.au) ftp login takes user to /home/user1.com.au will I cause any probs editing /etc/passwd so ftp login will take user to /home/user1.com.au/www directly ? (hmmm, now that I typed it up, I'm not sure anymore if I should do that, anyhow) (and, thanks to all for the help so far) Voytek Eymont -- 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] vhost HTTPD.CONF: hostname-less web server, can I have a singlevhost config ?
to have a webserver www.mydomain.com anwser as BOTH: http://www.mydomain.com/ and http://mydomain.com/ what do I need: DNS A record: mydomain.com. IN A xxx.xxx.xxx.xxx in httpd.conf, can I have BOTH entries in a single vhost entry like this ? VirtualHost xxx.xxx.xxx.xxx:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/mydomain.com/www ServerName www.mydomain.com ServerName mydomain.com ErrorLog path/to/log CustomLog path/to/log /VirtualHost *if* I need two VHost sets, can I have SAME log in both ? Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Sending mail
Can Any one suggest me how I can send a copy of every outgoing mail to a specific user account? I am using Redhat 7.1 and sendmail and ipop3 installed. === Thank You Md. Ashraful Alam -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] vhost HTTPD.CONF: hostname-less web server, can I havea single vhost config ?
On 28/07/2003 1:58 PM +, Voytek Eymont wrote: to have a webserver www.mydomain.com anwser as BOTH: http://www.mydomain.com/ and http://mydomain.com/ what do I need: DNS A record: mydomain.com. IN A xxx.xxx.xxx.xxx Plus, of course, your www.mydomain.com. entry like: www.mydomain.com. IN CNAME mydomain.com. in httpd.conf, can I have BOTH entries in a single vhost entry like this ? VirtualHost xxx.xxx.xxx.xxx:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/mydomain.com/www ServerName www.mydomain.com ServerName mydomain.com ErrorLog path/to/log CustomLog path/to/log /VirtualHost *if* I need two VHost sets, can I have SAME log in both ? You can have it all in one. Instead of: ServerName mydomain.com .. change that to: ServerAlias mydomain.com You can add more aliases after the mydomain.com. eg: ServerAlias mydomain.com somethingelse.mydomain.com hisdomain.com HTH, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] vhost HTTPD.CONF: hostname-less web server, can I have asingle vhost config ?
On 28/07/2003 1:58 PM +, Voytek Eymont wrote: to have a webserver www.mydomain.com anwser as BOTH: http://www.mydomain.com/ and http://mydomain.com/ what do I need: DNS A record: mydomain.com. IN A xxx.xxx.xxx.xxx Plus, of course, your www.mydomain.com. record like: www.mydomain.com. IN CNAME mydomain.com. OR www.mydomain.com. IN A same IP as mydomain.com points to in httpd.conf, can I have BOTH entries in a single vhost entry like this ? VirtualHost xxx.xxx.xxx.xxx:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/mydomain.com/www ServerName www.mydomain.com ServerName mydomain.com ErrorLog path/to/log CustomLog path/to/log /VirtualHost *if* I need two VHost sets, can I have SAME log in both ? You can have it all in one VirtualHost entry. Instead of: ServerName mydomain.com .. change that to: ServerAlias mydomain.com You can add more aliases after the mydomain.com too. eg: ServerAlias mydomain.com somethingelse.mydomain.com hisdomain.com HTH, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Disk Access Speed
On Mon, Jul 28, 2003 at 11:34:10AM +1000, Lyle Chapman wrote: Although I did notice that I get a DMA error in hdparm when trying to turn DMA on. Do you have a good quality, dma capable cable? Matt -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] editing passwd: alters home dir location ? or
** Reply to note from Andrew McNaughton [EMAIL PROTECTED] Mon, 28 Jul 2003 15:38:53 +1200 (NZST) Be a little careful. If the user's home directory is accessible from the web then various dot files in their home directory might become accessible. If you don't trust the users then you might not even want to give them access to what the system thinks of as their home directories. Andrew, Kevin, thanks, yes, I've decided it wasn't such a good idea.. talking about various dor files: if these users are just 'file upload' users, can I just delete all the dot files... or, just leave them ? /.. ³UP--DIR³³ /.kde³ 4096³Jul 16 10:22³ /www ³ 8192³Jul 28 14:06³ .bash_logout³ 24³Jul 16 10:22³ .bash_profile ³191³Jul 16 10:22³ .bashrc ³124³Jul 16 10:22³ .gtkrc ³118³Jul 16 10:22³ ³ ³³ Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] vhost HTTPD.CONF: hostname-less web server, can I have asingle vhost config ?
This one time, at band camp, Voytek Eymont wrote: mydomain.com. IN A xxx.xxx.xxx.xxx www.mydomain.com INCNAME mydomain.com. ServerName www.mydomain.com ServerName mydomain.com Can't have two ServerNames, try this: ServerName mydomain.com ServerAlias www.mydomain.com -- [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] Auto Mount
Dear It works . Thank you ... === Thank You Md. Ashraful Alam - Original Message - From: Patrick Lesslie [EMAIL PROTECTED] To: Md. Ashraful Alam [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, July 27, 2003 6:14 PM Subject: Re: [SLUG] Auto Mount On Sun, 27 Jul 2003, Md. Ashraful Alam wrote: Can any one suggest me ...how i can automount the cdrom in Redhat 7.1 ? You could install an rpm of autofs, and then to mount the floppy on /mnt/floppy and the cdrom on /mnt/cdrom (you'll need to mkdir the ones you need I think) you do something like this: # vi /etc/auto.master add: /mnt /etc/auto.floppy timeout=10 # vi /etc/auto.floppy add: floppy -fstype=auto,rw,user,nodev,uid=guest :/dev/fd0 cdrom -fstype=iso9660,r,user,uid=guest :/dev/cdrom # vi /etc/fstab remove cdrom and floppy entries # service autofs reload I haven't tested this, I saw it on a page about a webcafe but you get the idea. Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] editing passwd: alters home dir location ? or
IF they are just file upload users, its possible they don't even need to be in /etc/passwd. Most ftp daemons will allow you to use a separate password file for ftp authentication. This will mean that the files will all be owned by a single system user, so be careful that users get separate areas if necessary to prevent them clobbering each other's stuff. If users are only using remote ftp, then they will not run bash, kde or gtk and won't need any of the dot files you list. I presume the www dir is wanted? Andrew On Mon, 28 Jul 2003, Voytek Eymont wrote: Date: Mon, 28 Jul 2003 14:09:51 From: Voytek Eymont [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [SLUG] editing passwd: alters home dir location ? or ** Reply to note from Andrew McNaughton [EMAIL PROTECTED] Mon, 28 Jul 2003 15:38:53 +1200 (NZST) Be a little careful. If the user's home directory is accessible from the web then various dot files in their home directory might become accessible. If you don't trust the users then you might not even want to give them access to what the system thinks of as their home directories. Andrew, Kevin, thanks, yes, I've decided it wasn't such a good idea.. talking about various dor files: if these users are just 'file upload' users, can I just delete all the dot files... or, just leave them ? /.. ³UP--DIR³³ /.kde³ 4096³Jul 16 10:22³ /www ³ 8192³Jul 28 14:06³ .bash_logout³ 24³Jul 16 10:22³ .bash_profile ³191³Jul 16 10:22³ .bashrc ³124³Jul 16 10:22³ .gtkrc ³118³Jul 16 10:22³ ³ ³³ Voytek Eymont -- 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
BIND zone file Re: [SLUG] vhost HTTPD.CONF: hostname-less web server,can I have a
** Reply to note from Gonzalo Servat [EMAIL PROTECTED] Mon, 28 Jul 2003 14:04:49 +1000 DNS A record: mydomain.com. IN A xxx.xxx.xxx.xxx Plus, of course, your www.mydomain.com. record like: www.mydomain.com. IN CNAME mydomain.com. OR www.mydomain.com. IN A same IP as mydomain.com points to Gonzalo, Jamie, thanks I've managed to set up 'hostless record' for my own domain (where I also run the DNS) *BUT*, I'm having probs with a hosted domain that doesn't have DNS or, it's own hosts in it's own domain, I run the dns for it it my own domain what do I need here: zone file has: @ IN SOA wombat.sbt.net.au. admin.sbt.net.au. ( 0010 ; Serial number for this data (yymmdd##) ..stuff removed... ; IN NS wombat.sbt.net.au. IN NS echidna.sbt.net.au. ; IN MX 10 echidna.sbt.net.au. ; localhost IN A 127.0.0.1 www IN CNAME web.sbt.net.au. ; I tried ww2 IN CNAME koala.sbt.net.au. domainname.org.au. IN CNAME koala.sbt.net.au. www2.domainname.org.au worked OK domainname.org.au did NOT work what have I forgot ? Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] SLUG trivia night - Flame War 2.0
From humble beginnings as a way to fill in time after an AGM, the SLUG Flame War is back! Flame War 1.0 was released in March (See http://lists.slug.org.au/archives/slug/2003/03/msg00783.html for details). This new version overs many improvements over its predecessor: * Multiplayer! Perhaps the most exciting and most requested new feature, Flame War is now officially a MMORLG (massively multiplayer offline Real-Life game), supporting up to 50 simultaneous players! * Enhanced prizes. Flame War 1.0 presented the winning team with the leftover milk from the tea break. This was reported to be quite tasty, yet somehow unsatisfying after the rigours of Flame War. Considerable development effort has gone in to ensuring the spoils of War will be much more worthwhile. * Cozy new venue. The arena for battle has been relocated to every SLUG's favourite venue, the Woolloomooloo Bay Hotel. Flame War is, after all, thirsty work. * Accessibility. Far from the hardcore geekiness of Flame War 1.0 (Slackware disk sets, anybody?), this new version offers questions from a broad range of categories. Friends, brains trusts, and significant others curious about exactly what you get up to with those weird SLUG people are all more then welcome. Being passionate about your choice of OS is not required. * Warm-fuzziness. All proceeds from the night will go towards making the upcoming Linux Workshop a reality. Registrations are now open to any and all comers. Form a table of 5, or register yourself to be placed in a team, and email [EMAIL PROTECTED] A one-time registration fee of $10 per person, collectible at the door, will cover fireproofing of the venue, training of our elite trivia monkeys, as well as ensuring maximum warm-fuzziness for the user. We unfortunately have a hard limit on numbers, so first in, first served. Registrations will also be accepted at the door, numbers permitting. Battle commences on Saturday, the 23rd of August. First shots will be fired at 7pm, continuing until everybody goes home, or to another pub. The arena for battle is the courtyard of the Woolloomooloo Bay Hotel. Venue details at http://www.slug.org.au/events/wbh.html . The usual Flame War rules and regulations apply. All rules and regulations to be made up on the spot. The judge's decision is not so much final as dependant on how much beer he's been given. Points are usually given for correctness, but may also be awarded for humour or sucking up to the judges. Trivia monkeys may or may not be actual monkeys. Bring your own asbestos Y-fronts. -- Pete -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] binfmt_coff.o: where can I get/build it?
I recently update my kernel to 2.4.20-18 and now binfmt_coff.o is missing. It normally resides in /lib/modules/2.4.20*/kernel/fs/. Where I can I get this file? I am not that familiar with kernel modification, how do I make a copy of this file? Chris -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug