[CentOS-announce] CESA-2008:0161 Important CentOS 5 i386 cups - security update

2008-02-26 Thread Johnny Hughes
CentOS Errata and Security Advisory 2009:0161 https://rhn.redhat.com/errata/RHSA-2008-0161.html The following updated files have been uploaded and are currently syncing to the mirrors: i386: cups-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm cups-devel-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm

RE: [CentOS-virt] Fwd: Fast clock under VMWare

2008-02-26 Thread Ross S. W. Walker
chanms wrote: Hi everyone, I have been struggling with having the clock of Linux VM's (including CentOS 4.6 and 5.1) running very fast under VMWare, no matter what I have tried. My platform: - AMD Turion X2 TL-60 - AMD 690 chipset with integrated Radeon x1250 (probably doesn't

[CentOS-es] RE: Problema con Squid

2008-02-26 Thread Hector Martínez Romo
Muchas gracias Michel, con find . -exec rm {} \; los pude borrar. Aun así sigo teniendo problemas, en el access.log encontré lo siguiente 2008-02-26 08:00:00 [4129] recalculating alarm in 30 seconds 2008-02-26 08:00:00 [4130] recalculating alarm in 30 seconds 2008-02-26 08:00:00 [4131]

Re: [CentOS-es] RE: Problema con Squid

2008-02-26 Thread Michel Bulgado
El squidguard no puede escribir en el fichero log , quizas problemas de permiso o puede ser selinux. 2008-02-26 08:05:36 [4669] (squidguard): can't write to logfile /var/log/squidguard/squidGuard.log On Tuesday 26 February 2008 09:48, Hector Martínez Romo wrote: Muchas gracias Michel, con

Re: [CentOS-es] RE: Problema con Squid

2008-02-26 Thread Roger Peña
--- Michel Bulgado [EMAIL PROTECTED] wrote: El squidguard no puede escribir en el fichero log , quizas problemas de permiso o puede ser selinux. 2008-02-26 08:05:36 [4669] (squidguard): can't write to logfile /var/log/squidguard/squidGuard.log sin embargo, ya hector dice que se puede

Re: [CentOS-es] RAID 5 en CentOS 5

2008-02-26 Thread Mauricio Cesar Ramirez Torres
Hardy Beltran Monasterios escribió: El vie, 22-02-2008 a las 00:29 -0200, O. T. Suarez escribió: Hola: Por software lo puedes hacer y claro, necesitas que te reconozca todos los discos, en el modo de instalación gráfico es sencillo construir el RAID. Aunque si tu hardware es

Re: [CentOS] centos 5.1 install , 3ware raid card...

2008-02-26 Thread Jed Reynolds
Tom Bishop wrote: Installing a new system using a 3ware card, raid 5 across 4 disks, partition, format went smothly and loaded the apps that I need, but for some reason it appears grub was not installed, or not completely. I am wanting to boot from the array, when installing grub on the

Re: [CentOS] HD Failures

2008-02-26 Thread Jed Reynolds
Jimmy Bradley wrote: I'm just curious if any one else has noticed this. I've bought hard drives from both Walmart and Best Buy. If I can wait, I order them from newegg.com. I'm beginning to think that the staff at both Walmart and Best Buy, somewhere along the supply line must dribble the

Re: [CentOS] ext3 errors

2008-02-26 Thread William L. Maltby
On Mon, 2008-02-25 at 18:11 -0600, Les Mikesell wrote: William L. Maltby wrote: snip If you use cpio, it can handle the hard links intelligently, IIRC. That may make this more feasible. Plus you can specify such things as depth to the find command feeding cpio so that even directories

Re: [CentOS] centos 5.1 install , 3ware raid card...

2008-02-26 Thread gopinath
You can install grub loader on MBR which is safer and will mount the linux partitions whereever the OS is installed - Original Message - From: Jed Reynolds [EMAIL PROTECTED] To: CentOS mailing list centos@centos.org Sent: Tuesday, February 26, 2008 1:36 PM Subject: Re: [CentOS] centos

[CentOS] CentOS-announce Digest, Vol 36, Issue 13

2008-02-26 Thread centos-announce-request
Send CentOS-announce mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can

Re: [CentOS] sudo

2008-02-26 Thread Ralph Angenendt
Centos wrote: Hello unfortunately other users can change to my user name with sudo, how I can prevent it ? is there a command to prevent to change to only my user name ? DO NOT HIJACK THREADS ON A MAILING LIST. Post a fresh mail to centos@centos.org, don't just blindly reply to some mail

Re: [CentOS] SAMBA is driving me crazy

2008-02-26 Thread Ralph Angenendt
scaglietti amore wrote: that was it plus i had to set /selinux/enforce = 0im greatfull , thanks alot Craig Subject: RE: [CentOS] SAMBA is driving me crazy From: [EMAIL PROTECTED] To: centos@centos.org Date: Sun, 24 Feb 2008 15:09:24 -0700 dude, you need to give 'users' write

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Johnny Hughes
Bob Taylor wrote: On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote: Bob Taylor wrote: On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote: [snip] Well, exactarch=0 might work around this from a yum standpoint (as far as downloading the updates), but if RPM is complaining this

Re: [CentOS] Lost my win dual boot

2008-02-26 Thread David G. Miller
Stephen McManus [EMAIL PROTECTED] wrote: Finally got my install working, Centos didn't recognise my m/board NIC so I had to install another NIC. Now, I've lost the windows install. I need it for my Walkman and Palm. Never, ever got any distro to see the Tunsgsten E. I can see the Win in Grub

[CentOS] Logwatch showing entries for non existent services

2008-02-26 Thread Joseph L. Casale
I had removed Exim and installed Postfix yet Logwatch still shows an empty Exim section? Why is that still in the output? Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Lost my win dual boot

2008-02-26 Thread Johnny Hughes
Stephen McManus wrote: Finally got my install working, Centos didn't recognise my m/board NIC so I had to install another NIC. Now, I've lost the windows install. I need it for my Walkman and Palm. Never, ever got any distro to see the Tunsgsten E. I can see the Win in Grub but it says there's

[CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
In bash, given a string assignment as follows, how do I add slashes automagically, so that it can be safely passed to another program? Notice that the assignment contains spaces, single-quotes and double-quotes, maybe god-only-knows-what-else. It's untrusted data. Yet I need to pass it all

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Bob Beers
On Tue, Feb 26, 2008 at 10:11 AM, Benjamin Smith [EMAIL PROTECTED] wrote: In bash, given a string assignment as follows, how do I add slashes automagically, so that it can be safely passed to another program? Notice that the assignment contains spaces, single-quotes and double-quotes, maybe

Re: [CentOS] Huge mailq

2008-02-26 Thread Benjamin Smith
On Monday 25 February 2008, Christopher Chan wrote: Hmm...it will still build. To really fix it, you need to do one more step: rpm -e --nodeps sendmail Now that is a permanent solution. Like a hand grenade is a solution. Not likely to help him much, tho. =/ Doesn't even begin to address

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Bob Beers wrote: short answer:  single quotes will handle all characters, except single quotes. long answer:  man bash  the section called QUOTING may help you figure a solution. I've read the man page. It helps if I already know the input - I don't have a

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Ralph Angenendt
Benjamin Smith wrote: There is no mechanism for escaping untrusted input? Correct. At least there's no magic quoting function. Ralph pgp3MLwLhKMwH.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org

RE: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Ross S. W. Walker
Benjamin Smith wrote: On Tuesday 26 February 2008, Bob Beers wrote: short answer: single quotes will handle all characters, except single quotes. long answer: man bash the section called QUOTING may help you figure a solution. I've read the man page. It helps if I already know

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Ralph Angenendt wrote: There is no mechanism for escaping untrusted input? Correct. At least there's no magic quoting function. Ok. So I'm going to have to pull up my sleeves and do this with sed/awk pipes. Got it. I'll quit looking for a simply solution to this

RE: [CentOS] Huge mailq

2008-02-26 Thread Jason Pyeron
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nate Sent: Monday, February 25, 2008 21:47 To: centos@centos.org Subject: Re: [CentOS] Huge mailq Jason Pyeron wrote: Where should we start on preventing this type of problem? [EMAIL

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Milton Calnek
Benjamin Smith wrote: On Tuesday 26 February 2008, Ralph Angenendt wrote: There is no mechanism for escaping untrusted input? Correct. At least there's no magic quoting function. WHY THE @!#! NOT?!?!? Bash is used, extensively in many cases, to deal with untrusted data. This can include

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 08:25:54AM -0800, Benjamin Smith alleged: On Tuesday 26 February 2008, Ralph Angenendt wrote: There is no mechanism for escaping untrusted input? Correct. At least there's no magic quoting function. Ok. So I'm going to have to pull up my sleeves and do this with

Re: [CentOS] SAMBA is driving me crazy

2008-02-26 Thread Steve Huff
On Feb 26, 2008, at 9:04 AM, Ralph Angenendt wrote: scaglietti amore wrote: that was it plus i had to set /selinux/enforce = 0im greatfull , thanks alot Craig Subject: RE: [CentOS] SAMBA is driving me crazy From: [EMAIL PROTECTED] To: centos@centos.org Date: Sun, 24 Feb 2008

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Les Mikesell
Benjamin Smith wrote: On Tuesday 26 February 2008, Ralph Angenendt wrote: There is no mechanism for escaping untrusted input? Correct. At least there's no magic quoting function. Ok. So I'm going to have to pull up my sleeves and do this with sed/awk pipes. Got it. I'll quit looking for a

RE: [CentOS] Logwatch showing entries for non existent services

2008-02-26 Thread Joseph L. Casale
Probably because the package removal does not remove log files. Try manually deleting the logs. I missed that obvious point, heh. grin Thanks, jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Mono installation

2008-02-26 Thread Roilan Cardoso Sánchez
Hello everybody I´m trying to install mono and when i try to install the package libgdiplus throw the following error dependencies with libexif.so.9 and libungif.so.4. Im using local packages, i downloaded it from the redhat mono repository, I try with the bin installer in others distro mono

Re: [CentOS] Mono installation

2008-02-26 Thread Akemi Yagi
On Tue, Feb 26, 2008 at 9:29 AM, Roilan Cardoso Sánchez [EMAIL PROTECTED] wrote: Hello everybody I´m trying to install mono and when i try to install the package libgdiplus throw the following error dependencies with libexif.so.9 and libungif.so.4. Im using local packages, i downloaded it

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Mon, 2008-02-25 at 22:46 -0800, John R Pierce wrote: Bob Taylor wrote: On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote: Bob Taylor wrote: [snip] uname -imp: i686 i686 i386 Don't know why the kernel says it's an i386. Kernel bug? Gateway

[CentOS] Re: [CentOS-announce] CESA-2008:0161 Important CentOS 5 i386 cups - security update

2008-02-26 Thread William L. Maltby
On Tue, 2008-02-26 at 08:54 -0600, Johnny Hughes wrote: CentOS Errata and Security Advisory 2009:0161 https://rhn.redhat.com/errata/RHSA-2008-0161.html The following updated files have been uploaded and are currently syncing to the mirrors: i386:

Re: [CentOS] Mono installation

2008-02-26 Thread Johnny Hughes
Roilan Cardoso Sánchez wrote: Hello everybody I´m trying to install mono and when i try to install the package libgdiplus throw the following error dependencies with libexif.so.9 and libungif.so.4. Im using local packages, i downloaded it from the redhat mono repository, I try with the bin

Re: [CentOS] Mono installation

2008-02-26 Thread Roilan Cardoso Sánchez
I do it, but when i try to install gdiplus it thow and depes error with libgif.so.4 and i cant find it in centos extras - Mensaje original De: Akemi Yagi [EMAIL PROTECTED] Para: CentOS mailing list centos@centos.org Enviado: martes, 26 de febrero, 2008 13:19:18 Asunto: Re: [CentOS]

Re: [CentOS] Re: auto seek a server

2008-02-26 Thread Ignacio Vazquez-Abrams
On Mon, 2008-02-25 at 13:45 -0500, Jerry Geis wrote: I am trying this command and I am getting an error of INvalid service. avahi-publish-service MyServer _tcp 80 myentry at 192.168.1.8 What is wrong with _tcp? I also tried tcp. http://0pointer.de/lennart/projects/mod_dnssd/ -- Ignacio

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Les Mikesell
Garrick Staples wrote: How many homebrew ISP or hosting administration scripts could be compromised by simply putting a file in your home directory called ;rm -rf / ? It's not as bad as you think because of the order of operations. In all cases, these perform exactly as a string should

Re: [CentOS] Re: [CentOS-announce] CESA-2008:0161 Important CentOS 5 i386 cups - security update

2008-02-26 Thread Akemi Yagi
On Tue, Feb 26, 2008 at 10:35 AM, William L. Maltby [EMAIL PROTECTED] wrote: On Tue, 2008-02-26 at 08:54 -0600, Johnny Hughes wrote: CentOS Errata and Security Advisory 2009:0161 Oh wait! I just noticed the repo tag - el4! *whew* Subject line got me. You know, the whole CentOS project

RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Ross S. W. Walker
Bob Taylor wrote: On Mon, 2008-02-25 at 22:46 -0800, John R Pierce wrote: Bob Taylor wrote: On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote: Bob Taylor wrote: [snip] uname -imp: i686 i686 i386 Don't know why the kernel says it's an

RE: [CentOS] SAMBA is driving me crazy

2008-02-26 Thread scaglietti amore
sorry man :( but when i pasted those lines to the mail page they were organized i dont know how they end up like that :)regards Date: Tue, 26 Feb 2008 15:04:32 +0100 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SAMBA is driving me crazy scaglietti amore

[CentOS] /etc/sysconfig/iptables on a stock CentOS 5 install

2008-02-26 Thread Tom Laramee
Greetings: i have a pretty stock CentOS 5 machine with ports 80 and 22 exposed, so my /etc/sysconfig/iptables file is pretty standard/straightforward. my question is: how is this config file initially generated? i'd like to re-create it, and add a couple of rules so i don't want to

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote: [snip] what happens if you edit /etc/rpm/platform and change it too: i686-redhat-linux Nothing. I downloaded the current rpm file this morning and ran rpm -Uvh --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm. Rpm seems to behave

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 12:45:41PM -0600, Les Mikesell alleged: Garrick Staples wrote: How many homebrew ISP or hosting administration scripts could be compromised by simply putting a file in your home directory called ;rm -rf / ? It's not as bad as you think because of the order of

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 11:19:36AM -0800, Bob Taylor alleged: I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but can if I add .el5 to the end it does. Before I deleted it I ran the That's correct. 53.1.13 is the not same as 53.1.13.el5. The version is 2.6.18 and the release

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Les Mikesell wrote: WHY THE @!#! NOT?!?!? The shell is 'supposed' to be run by a user that is allowed to run any command he wants, and permission/trust issues are handled by the login/authentication process that happens before you get to the shell. If you

Re: [CentOS] Yum not updating kernel [personal]

2008-02-26 Thread Bob Taylor
Ray Van Dolson please email me at [EMAIL PROTECTED] -- Bob Taylor ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 11:22:55AM -0800, Benjamin Smith alleged: On Tuesday 26 February 2008, Les Mikesell wrote: WHY THE @!#! NOT?!?!? The shell is 'supposed' to be run by a user that is allowed to run any command he wants, and permission/trust issues are handled by the

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Alfred von Campe
Are you trying to pass all parameters from one script to another or just the first one ($1). If it's the former, have you tried using $@? For the latter, $1 might work. Alfred ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread John R Pierce
Ross S. W. Walker wrote: Here is the cpu info of a more recent quad core Intel. processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU X3220 @ 2.40GHz stepping: 7 This model is 10 cpu designs ahead,

Re: [CentOS] Logwatch showing entries for non existent services

2008-02-26 Thread Brian
Joseph L. Casale wrote: Probably because the package removal does not remove log files. Try manually deleting the logs. I missed that obvious point, heh. grin Also remove exim from the list of services in logwatch.conf ___ CentOS mailing

Re: [CentOS] SAMBA is driving me crazy

2008-02-26 Thread John R Pierce
scaglietti amore wrote: sorry man :( but when i pasted those lines to the mail page they were organized i dont know how they end up like that :) blame it on hotmail. your original message was in mime multipart, the HTML version had those lines seperated by BR (break) but the plaintext

RE: [CentOS] SAMBA is driving me crazy

2008-02-26 Thread scaglietti amore
shiii did anyone notice any failure today to open the hotmail.combefor 5 hours Date: Tue, 26 Feb 2008 11:51:50 -0800 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SAMBA is driving me crazy scaglietti amore wrote: sorry man :(but when i pasted those lines

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Johnny Hughes
Bob Taylor wrote: On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote: [snip] what happens if you edit /etc/rpm/platform and change it too: i686-redhat-linux Nothing. I downloaded the current rpm file this morning and ran rpm -Uvh --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm. Rpm

RE: [CentOS] SAMBA is driving me crazy

2008-02-26 Thread Ross S. W. Walker
Ya know you can set hotmail to send in plain text which helps a lot with these mailing lists. -Ross From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of scaglietti amore Sent: Tuesday, February 26, 2008 3:04 PM To:

[CentOS] Re: Huge mailq

2008-02-26 Thread Ugo Bellavance
Jason Pyeron wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nate Sent: Monday, February 25, 2008 21:47 To: centos@centos.org Subject: Re: [CentOS] Huge mailq Jason Pyeron wrote: Where should we start on preventing this type of problem?

[CentOS] Pointer to simple mail server setup?

2008-02-26 Thread Steve Snyder
Hello. I need to set up a mail server for a small (~5 people) organization on CentOS 5.1. While I am very familiar with CentOS and Linux in general, I have zero experience in setting up a POP3(s)/SMTP mail server. I suppose eventually I'd like to do spam/virus filtering, but initially the

RE: [CentOS] SAMBA is driving me crazy

2008-02-26 Thread scaglietti amore
indeed it would i will look about it Ya know you can set hotmail to send in plain text which helps a lot with these mailing lists. -Ross From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of scaglietti amoreSent: Tuesday, February 26, 2008 3:04 PMTo: CentOS mailing

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Garrick Staples wrote: I'm not asking for this. I'm only asking for the option to be able to trust that a parameter is... a parameter. EG: file: script1.sh #! /bin/bash script2.sh $1 exit 0; file: script2.sh #! /bin/bash echo $1; $

Re: [CentOS] Pointer to simple mail server setup?

2008-02-26 Thread Frank Cox
On Tue, 26 Feb 2008 15:30:50 -0500 Steve Snyder [EMAIL PROTECTED] wrote: Can someone point me to a tutorial on setting up a mail server on CentOS 5? http://www.linuxhomenetworking.com/ -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Ross S. W. Walker
Johnny Hughes wrote: Bob Taylor wrote: On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote: [snip] what happens if you edit /etc/rpm/platform and change it too: i686-redhat-linux Nothing. I downloaded the current rpm file this morning and ran rpm -Uvh --force

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 12:40:06PM -0800, Benjamin Smith alleged: I'd like to have a informed discussion, which, apparently, you either aren't interested in, or aren't capable of. *shrug* I thought we were having a discussion. I'll leave you to it and stay out of your way. -- Garrick

Re: [CentOS] Pointer to simple mail server setup?

2008-02-26 Thread e521
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Snyder wrote: | Can someone point me to a tutorial on setting up a mail server on CentOS | 5? | qmailtoaster + qmailtoaster plus. http://www.qmailtoaster.org http://qtp.qmailtoaster.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6

Re: [CentOS] /etc/sysconfig/iptables on a stock CentOS 5 install

2008-02-26 Thread mouss
Tom Laramee wrote: Greetings: i have a pretty stock CentOS 5 machine with ports 80 and 22 exposed, so my /etc/sysconfig/iptables file is pretty standard/straightforward. my question is: how is this config file initially generated? i'd like to re-create it, and add a couple of rules so

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Les Mikesell
Benjamin Smith wrote: On Tuesday 26 February 2008, Les Mikesell wrote: WHY THE @!#! NOT?!?!? The shell is 'supposed' to be run by a user that is allowed to run any command he wants, and permission/trust issues are handled by the login/authentication process that happens before you get to the

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Bart Schaefer wrote: For someone who apparently has no idea what he's talking about, you sure say a lot. Sorry. It's how I think aloud. Sorry if I offended. No, you missed it. You need the quotes *everywhere* that a variable is referenced. Yes, I missed this

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Johnny Hughes
Ross S. W. Walker wrote: Johnny Hughes wrote: Bob Taylor wrote: On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote: [snip] what happens if you edit /etc/rpm/platform and change it too: i686-redhat-linux Nothing. snip The problem was most likely the /etc/rpm/platform if it is i386

RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Ross S. W. Walker
Johnny Hughes wrote: Ross S. W. Walker wrote: Johnny Hughes wrote: Bob Taylor wrote: On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote: [snip] what happens if you edit /etc/rpm/platform and change it too: i686-redhat-linux Nothing. snip The problem was most likely

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Jacques B.
Unless I'm terribly mistaken (again?), the only way I've been able to see loop thru a list of files work reliably is with find using the -print0 option, in cahoots with xargs. Is there any other way? -Ben -- If I understand you correctly, you are referring to the problem caused by

RE: [CentOS] Pointer to simple mail server setup?

2008-02-26 Thread Joseph L. Casale
Can someone point me to a tutorial on setting up a mail server on CentOS 5? Howtoforge has many. I have used their stuff successfully in the past... jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 04:33:30PM -0600, Les Mikesell alleged: Does anyone have a quick reference to the order of operations as the shell parses a command line (variable parsing,i/o redirection, wildcard and variable expansion, splitting on IFS, quote removal, command substitution etc.)?

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Les Mikesell
Garrick Staples wrote: On Tue, Feb 26, 2008 at 04:33:30PM -0600, Les Mikesell alleged: Does anyone have a quick reference to the order of operations as the shell parses a command line (variable parsing,i/o redirection, wildcard and variable expansion, splitting on IFS, quote removal, command

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Stephen Harris
On Tue, Feb 26, 2008 at 05:30:12PM -0500, Jacques B. wrote: If I understand you correctly, you are referring to the problem caused by spaces in filenames? Steve mentioned the environment variable IFS (individual field separator if memory serves me correctly). By default it's space, tab, or

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Stephen Harris
On Tue, Feb 26, 2008 at 03:30:02PM -0800, Benjamin Smith wrote: Exactly. Here's my example: $ ls -laFd * You're doing it wrong: ls -laFD -- * ls -l $file; You're doing it wrong: ls -l -- $file $ /bin/bash ./script3.sh * You're doing it wrong: bash ./script3.sh * (I

[CentOS] Re: SAMBA is driving me crazy

2008-02-26 Thread Scott Silva
on 2/26/2008 1:42 PM Ross S. W. Walker spake the following: Actually I recant that, one use to be able to do so, but not any more. One use to be able to display full headers too, but that is now missing as well. Oh well, Hotmail now officially sucks. Can't say I'm surprised, everything

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 03:30:02PM -0800, Benjamin Smith alleged: File script3.sh contains the following: $ cat script3.sh #! /bin/sh for file in $* do ls -l $file; done Use $@ instead of $*. It will split up the way you want. pgpniM2ihOWs1.pgp Description:

[CentOS] Re: bash - safely pass untrusted strings?

2008-02-26 Thread Robert Nichols
Benjamin Smith wrote: It's obviously getting slipped on on the -b. Tried again: $ cat script3.sh #! /bin/bash for file in $* do ls -l -- $file; done $ /bin/bash ./script3.sh * -rw-r--r-- 1 bens nobody 5 2008-02-26 12:14 -b ls: cannot access Disney: No such file or

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 05:13:12PM -0600, Les Mikesell alleged: Garrick Staples wrote: On Tue, Feb 26, 2008 at 04:33:30PM -0600, Les Mikesell alleged: Does anyone have a quick reference to the order of operations as the shell parses a command line (variable parsing,i/o redirection, wildcard

Re: [CentOS] Logwatch showing entries for non existent services

2008-02-26 Thread Brian
Joseph L. Casale wrote: Hi, Maybe I don't understand Logwatch correctly. Doesn't it look for all possible services defined by the existence of the many service definitions, and if it finds a log, it reports it? This is the default behavior from what I gathered, my silly mistake was not

[CentOS] NFSroot is acting strange in CentOS5

2008-02-26 Thread vincenzo romero
Hello all, I have observed a problem with a diskless PXE client I am attempting to configure. PXE/NFS/DHCP/TFTPd server is running CentOS5.1 and the Diskless workstation's root and kernel was extracted from a CentOS5.1 (custom kernel due to setting to enable Root File System support). Problem:

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 11:22 -0800, Garrick Staples wrote: On Tue, Feb 26, 2008 at 11:19:36AM -0800, Bob Taylor alleged: I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but can if I add .el5 to the end it does. Before I deleted it I ran the That's correct. 53.1.13 is the

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 11:51 -0800, Ray Van Dolson wrote: [snip] It looks like the problem may be in rpm after 4.4.2-37. Before I go to the rpm people, I need to confer with Ray Van Dolson who says his is the same as mine and he has no problem updating kernels. After Ray and I resolve

Re: [CentOS] Re: Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 10:33 -0800, Scott Silva wrote: [snip] The contents of, # cat /etc/rpm/platform i386-redhat-linux Good Shouldn't this be i686-redhat-linux ? Bingo! Better late than never! :-) That is exactly the problem! -- Bob Taylor

Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 16:09 -0600, Johnny Hughes wrote: [snip] Would anaconda even allow C5 to install on such a class cpu? no ... and we have no i386 kernel ... no idea how that file got changed, but the only code to make it happen would be a pentium classic processor. C5 would just

RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 15:27 -0500, Ross S. W. Walker wrote: [snip] I think there may be a case or two of bad packages updating that file I believe these are some dumb Mozilla plugins though, googling got me these: http://dnmouse.webs.com/playdvdsmore.htm and here:

Re: [CentOS] Mono installation

2008-02-26 Thread John R Pierce
Roilan Cardoso Sánchez wrote: I could finally install Mono completely, but when i try to run a winform bin it throw teh following error: An exception was thrown by the typw initializer for System.Windows.Forms.XplatUI --- System.TypeInitializationExceptio: Sistem.Drawing.GDIPlus .NET its a

Re: [CentOS] Mono installation

2008-02-26 Thread Roilan Cardoso Sánchez
I could finally install Mono completely, but when i try to run a winform bin it throw teh following error: An exception was thrown by the typw initializer for System.Windows.Forms.XplatUI --- System.TypeInitializationExceptio: Sistem.Drawing.GDIPlus - Original Message - From: Johnny