Re: [CentOS] Rebuilding MySQL

2009-11-13 Thread ceejay cervantes
try this

yum install mysql-server

--- On Fri, 13/11/09, Victor Subervi  wrote:

From: Victor Subervi 
Subject: [CentOS] Rebuilding MySQL
To: "CentOS mailing list" 
Date: Friday, 13 November, 2009, 2:58 PM

Hi;Since I decided to "yum remove openssl", genius that I am (not!), I managed 
to screw up the OS so badly the server co. had to rebuild it for me <:-) These 
good people backed everything up very well, so the damage was minimal. Now I'm 
trying to rebuild MySQL. I did the "yum install mysql" no problem. However...

[r...@13gems old]# /etc/init.d/mysqld start-bash: /etc/init.d/mysqld: No such 
file or directory
What do? Also, where is the data usually stored? The server co. backed that up, 
but I don't know which file it would be.
TIA,Victor

-Inline Attachment Follows-

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



  Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rebuilding MySQL

2009-11-13 Thread ceejay cervantes
Default data directory is in /var/lib/mysql
You can check also the datadir=? in /etc/my.cnf

--- On Fri, 13/11/09, ceejay cervantes  wrote:

From: ceejay cervantes 
Subject: Re: [CentOS] Rebuilding MySQL
To: "CentOS mailing list" 
Date: Friday, 13 November, 2009, 4:56 PM

try this

yum install mysql-server

--- On Fri, 13/11/09, Victor Subervi  wrote:

From: Victor Subervi 
Subject: [CentOS] Rebuilding MySQL
To: "CentOS mailing list" 
Date: Friday, 13 November, 2009, 2:58 PM

Hi;Since I decided to "yum remove openssl", genius that I am (not!), I managed 
to screw up the OS so badly the server co. had to rebuild it for me <:-) These 
good people backed everything up very well, so the damage was minimal. Now I'm 
trying to rebuild MySQL. I did the "yum install mysql" no problem. However...

[r...@13gems old]# /etc/init.d/mysqld start-bash: /etc/init.d/mysqld: No such 
file or directory
What do? Also, where is the data usually stored? The server co. backed that up, 
but I don't know which file it would be.
TIA,Victor

-Inline Attachment Follows-

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


New Email names for you!  

Get the Email name you've always wanted on the new @ymail and @rocketmail.

Hurry before someone else does!
-Inline Attachment Follows-

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



  New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rebuilding MySQL

2009-11-13 Thread John R Pierce
Victor Subervi wrote:
> What do? Also, where is the data usually stored? The server co. backed 
> that up, but I don't know which file it would be.


With the CentOS version of mysql, its typically in /var/lib/mysql and 
the mysql config file is /etc/my.cnf


after installing the mysql server with yum as ceejay explained, do...

# service mysqld start
# chkconfig mysqld on

(the first command starts the server, the second command configures the 
system so the mysql server will automatically start when rebooted)


if the server is properly running, then you'll see at least one process 
if you ...

# ps uww -C mysqld
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
mysql 3193  0.0  1.6 136920 16608 ?Sl   Sep29   0:20 
/usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql 
--pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking 
--socket=/var/lib/mysql/mysql.sock


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rebuilding MySQL

2009-11-13 Thread Victor Subervi
Thanks :)

On Fri, Nov 13, 2009 at 4:09 AM, John R Pierce  wrote:

> Victor Subervi wrote:
> > What do? Also, where is the data usually stored? The server co. backed
> > that up, but I don't know which file it would be.
>
>
> With the CentOS version of mysql, its typically in /var/lib/mysql and
> the mysql config file is /etc/my.cnf
>
>
> after installing the mysql server with yum as ceejay explained, do...
>
># service mysqld start
># chkconfig mysqld on
>
> (the first command starts the server, the second command configures the
> system so the mysql server will automatically start when rebooted)
>
>
> if the server is properly running, then you'll see at least one process
> if you ...
>
> # ps uww -C mysqld
> USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
> mysql 3193  0.0  1.6 136920 16608 ?Sl   Sep29   0:20
> /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
> --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking
> --socket=/var/lib/mysql/mysql.sock
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread John Doe
From: MIKE - EMAIL IGNORED 
> On CentOS 5.4 I just installed K3B to write some
> CDs.  Now every time I used a CD, I get a popup
> that asks me to "Select a CDDB entry ...".
> How can I stop this popup?

Tried the 'configure k3b' menu?
There's a CDDB section...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] run script on logout

2009-11-13 Thread Janez Kosmrlj
Does anyone have an idea how to run a script when the user logs out.

I tried puting the command in the .bash_logout file, but it doesnt work.

Thanx

Janez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] run script on logout

2009-11-13 Thread Dave Cross
2009/11/13 Janez Kosmrlj :
> Does anyone have an idea how to run a script when the user logs out.
>
> I tried puting the command in the .bash_logout file, but it doesnt work.

Of course, that's only going to work if the user is using bash as
their shell. But, given that proviso, that's the right way to do it.

Is anything in .bash_logout being called?

Dave...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] run script on logout

2009-11-13 Thread Libor Tomsik
Hi,
I'm using pam_script and scripts in /etc/security/onsessionclose to do  
that job.

Install pam_script-0.1.7-1.el5.rf

add into /etc/pam.d/sshd

sessionrequired pam_script.so runas=root expose=1

And enjoy.


On Fri, 13 Nov 2009 14:30:01 +0100, Dave Cross  wrote:

> 2009/11/13 Janez Kosmrlj :
>> Does anyone have an idea how to run a script when the user logs out.
>>
>> I tried puting the command in the .bash_logout file, but it doesnt work.
>
> Of course, that's only going to work if the user is using bash as
> their shell. But, given that proviso, that's the right way to do it.
>
> Is anything in .bash_logout being called?
>
> Dave...
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>


-- 
Libor Tomsik
VIG Data s.r.o
Rychtarikova 1
326 00 Plzen
Czech Republic
+420723055117
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] run script on logout

2009-11-13 Thread John Doe
From: Janez Kosmrlj 
>Does anyone have an idea how to run a script when the user logs out.
>I tried puting the command in the .bash_logout file, but it doesnt work.

bash man:
   A  login shell is one whose first character of argument zero is a -, or
   one started with the --login option.
   ...
   When  a  login  shell  exits, bash reads and executes commands from the
   file ~/.bash_logout, if it exists.

So, if you run bash and exit, it won't be executed.
If you run bash --login and exit, it will be executed...

Also from the man:
   ~/.bash_profile
  The personal initialization file, executed for login shells
   ~/.bashrc
  The individual per-interactive-shell startup file

In gnome terminal, there is an option in the profile to force it to a login 
shell...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread MIKE - EMAIL IGNORED
On Fri, 13 Nov 2009 02:27:18 -0800, John Doe wrote:

> From: MIKE - EMAIL IGNORED
> 
>> On CentOS 5.4 I just installed K3B to write some CDs.  Now every time I
>> used a CD, I get a popup that asks me to "Select a CDDB entry ...". How
>> can I stop this popup?
> 
> Tried the 'configure k3b' menu?
> There's a CDDB section...
> 
> JD

Yes, I unchecked the things in the CDDB section.
The popup still appears.

Mike.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kernel not booting after update

2009-11-13 Thread Rob Kampen

Spiro Harvey wrote:
I would backup ALL your file systems off that disk, perhaps using a 



This is a fresh install, so that's not an issue.

  

Linux rescue CD, then configure the controller in the BIOS for JBOD,
use a rescue disk to build mdraid partitions, and restore your files
from the backups.   you may have to rebuild the /boot/initrd on the
system to dump the fakeraid (dmraid) driver and enable the mdraid
native linux raid driver



I'm interested in knowing why the machine isn't booting some kernels,
but will happily boot another. I figure if it's a hardware issue, then
it should be an all-or-nothing issue? I'm positive this is the same
spec as the last servers built for this same purpose, but the others
are now on the other side of the country, so I can't access them to
verify.

So assuming the hardware is exactly the same, and assuming there's
something in the -164 kernel that doesn't like that particular fake
raid card, then I still can't see why I can't boot the -128 kernel as
that's what the other boxes have running. :/


  



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  

Spiro,
I had a similar problem with an Intel MB shifting from -53 kernel to 
newer and ended up with adding "nodmraid" to the kernel line in grub so 
I could actually use the drives. For some reason no BIOS setting would 
set the onboard fake raid into a mode that the kernel could deal with.
Suggest you do the back up and re-install with mdraid - has worked like 
a charm since I did this.

HTH
Rob
<>___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] run script on logout

2009-11-13 Thread Les Mikesell
John Doe wrote:
> From: Janez Kosmrlj 
>> Does anyone have an idea how to run a script when the user logs out.
>> I tried puting the command in the .bash_logout file, but it doesnt work.
> 
> bash man:
>A  login shell is one whose first character of argument zero is a -, or
>one started with the --login option.
>...
>When  a  login  shell  exits, bash reads and executes commands from the
>file ~/.bash_logout, if it exists.
> 
> So, if you run bash and exit, it won't be executed.
> If you run bash --login and exit, it will be executed...
> 
> Also from the man:
>~/.bash_profile
>   The personal initialization file, executed for login shells
>~/.bashrc
>   The individual per-interactive-shell startup file
> 
> In gnome terminal, there is an option in the profile to force it to a login 
> shell...

A 'trap 0' statement in the user's .profile or .bash_profile should also be 
executed as the login shell terminates.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread John Doe
From: MIKE - EMAIL IGNORED 
> On Fri, 13 Nov 2009 02:27:18 -0800, John Doe wrote:
> > From: MIKE - EMAIL IGNORED
> >> On CentOS 5.4 I just installed K3B to write some CDs.  Now every time I
> >> used a CD, I get a popup that asks me to "Select a CDDB entry ...". How
> >> can I stop this popup?
> > 
> > Tried the 'configure k3b' menu?
> > There's a CDDB section...
> 
> Yes, I unchecked the things in the CDDB section.
> The popup still appears.

I have local CDDB, maybe that's why I don't get popups?

  $ cat ~/.kde/share/config/k3brc
  [Cddb]
  cddb server=Http freedb.org:80
  cgi path=/~cddb/cddb.cgi
  local cddb dirs=~/.cddb/
  save cddb entries locally=true
  use local cddb query=true
  use manual cgi path=false
  use remote cddb=false

But I never inserted an audio CD, so cannot be sure...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Rescuing svn repo from *IDIOTS*

2009-11-13 Thread Stephen Nelson-Smith
Hello,

A moron has checked in a DVD iso into subversion.

How can I undo the damage, and make the repo a sensible size again?

Also, is there a cunning way to get subversion to say: "Oi! Moron!
This file is huge, you can't check it in!" ?

S.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rescuing svn repo from *IDIOTS*

2009-11-13 Thread Arturas Skauronas
On Fri, Nov 13, 2009 at 4:55 PM, Stephen Nelson-Smith <
step...@atalanta-systems.com> wrote:

> Hello,
>
> A moron has checked in a DVD iso into subversion.
>
> How can I undo the damage, and make the repo a sensible size again?
>
> Also, is there a cunning way to get subversion to say: "Oi! Moron!
> This file is huge, you can't check it in!" ?
>
> S.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

yum can try do that:
svnadmin dump -r x:y repos_path>svnproject (where x:y is revisions numbers.
for y use revision before dvd)
then delete that project and exactly don't remember, but probably smth like
that:
svnadmin load REPOS_PATH___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rescuing svn repo from *IDIOTS*

2009-11-13 Thread Mihai T. Lazarescu
On Fri, Nov 13, 2009 at 02:55:24PM +, Stephen Nelson-Smith wrote:

> A moron has checked in a DVD iso into subversion.
> 
> How can I undo the damage, and make the repo a sensible size again?

I fully understand the grief.

Out of the top of my head you can use 'snvadmin dump' to get an
(even larger) dump of the repo as a single file.  Then feed
it to svndumpfiler to reconstruct the repo and filter out the
excess commits.  For me it worked as advertised.

> Also, is there a cunning way to get subversion to say: "Oi! Moron!
> This file is huge, you can't check it in!" ?

There are so called hooks server side that get triggered by
the check in/out/etc.  It may be possible to look at the size
of the changes and reject the operation based on thresholds.
I have never tried that, although.

Hope this helps.

Mihai
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Yum Skipping filter question

2009-11-13 Thread Majian
Hi, all :

When I  run "yum update" command in my laptop , it displayed this :

r...@foo Desktop]# yum update
Loaded plugins: aliases, changelog, fastestmirror, filter-data, keys, kmod,
list-data, priorities, protect-
  : packages, protectbase, security, tmprepo, verify
Loading mirror speeds from cached hostfile
 * addons: mirrors.163.com
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: mirrors.163.com
Skipping filters plugin, no data
0 packages excluded due to repository protections
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update


I  searched on the Internet some time , but had not any useful answer .

Could someone help me ?

Thanks  in advance ~
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rescuing svn repo from *IDIOTS*

2009-11-13 Thread John Doe
From: Stephen Nelson-Smith 
> A moron has checked in a DVD iso into subversion.
> How can I undo the damage, and make the repo a sensible size again?
> Also, is there a cunning way to get subversion to say: "Oi! Moron!
> This file is huge, you can't check it in!" ?

I also think dump_previousrevision+delete+reload might be necessary...
I think you could maybe use a pre hook script to prevent it in the future:
See /path/to/mysvn/hooks/pre-commit.tmpl

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum Skipping filter question

2009-11-13 Thread John Doe
From: Majian 
>When I  run "yum update" command in my laptop , it displayed this :
>r...@foo Desktop]# yum update
>Loaded plugins: aliases, changelog, fastestmirror, filter-data, keys, kmod, 
>list-data, priorities, protect-
>>  : packages, protectbase, security, tmprepo, verify
>Loading mirror speeds from cached hostfile
> * addons: mirrors.163.com
> * base: mirrors.163.com
>> * extras: mirrors.163.com
> * rpmforge: ftp-stud.fht-esslingen.de
> * updates: mirrors.163.com
>>Skipping filters plugin, no data
>0 packages excluded due to repository protections
>Skipping security plugin, no data
>Setting up Update Process
>No Packages marked for Update
>I  searched on the Internet some time , but had not any useful answer . 

Since you did not use a filtering option, the plugin is "ignored"...
One example from the man page gives:
"Limiting package lists to filtered ones"

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Print stuck in queue

2009-11-13 Thread Robert Moskowitz
I have some prints stuck in my print queue from firefox.

I can ping the printer (HP 7310 accessable over 9100). Windows systems 
can print.

I just tried sending a print from OpenOffice Writer and Unable to Write 
Print Data:  Broken Pipe

I tried restarting CUPS, no change.

What can I do?  I don't think I should have to reboot.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum Skipping filter question

2009-11-13 Thread Kai Schaetzl
Majian wrote on Fri, 13 Nov 2009 23:15:51 +0800:

> Could someone help me ?

On what? What's your problem?

Skipping filters plugin, no data
Skipping security plugin, no data

That's clear enough, isn't it?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Print stuck in queue

2009-11-13 Thread John Doe
From: Robert Moskowitz 
> I have some prints stuck in my print queue from firefox.
> I tried restarting CUPS, no change.
> What can I do?  I don't think I should have to reboot.

Checked in CUPS web interface?  http://localhost.localdomain:631/
Or with the lp*.cups tools?

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum-changelog dependencies...

2009-11-13 Thread John Doe
Hi,

I wanted to try yum-changelog, so I yum installed it.
It installed without complaining.
But, when I try to use it, it complains about a missing module:
"Dateutil module not available, so can't parse dates"
Missing dependency?
Only package I found is python-dateutil.noarch from rpmforge.
Is it the one?

Thx,
JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 57, Issue 7

2009-11-13 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

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
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2009:1579 Moderate CentOS 3 i386 httpd - security update
  (Tru Huynh)
   2. CESA-2009:1579 Moderate CentOS 3 x86_64 httpd -   security
  update (Tru Huynh)
   3. CESA-2009:1580 Moderate CentOS 4 i386 httpd - security update
  (Tru Huynh)
   4. CESA-2009:1580 Moderate CentOS 4 x86_64 httpd -   security
  update (Tru Huynh)


--

Message: 1
Date: Thu, 12 Nov 2009 23:37:02 +0100
From: Tru Huynh 
Subject: [CentOS-announce] CESA-2009:1579 Moderate CentOS 3 i386 httpd
-   security update
To: centos-annou...@centos.org
Message-ID: <20091112223702.ga16...@sillage.bis.pasteur.fr>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2009:1579

httpd security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2009-1579.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/httpd-2.0.46-77.ent.centos.i386.rpm
updates/i386/RPMS/httpd-devel-2.0.46-77.ent.centos.i386.rpm
updates/i386/RPMS/mod_ssl-2.0.46-77.ent.centos.i386.rpm

source:
updates/SRPMS/httpd-2.0.46-77.ent.centos.src.rpm

You may update your CentOS-3 i386 installations by running the command:

yum update httpd\* mod_ssl

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20091112/48453959/attachment-0001.bin
 

--

Message: 2
Date: Thu, 12 Nov 2009 23:37:31 +0100
From: Tru Huynh 
Subject: [CentOS-announce] CESA-2009:1579 Moderate CentOS 3 x86_64
httpd - security update
To: centos-annou...@centos.org
Message-ID: <20091112223731.gb16...@sillage.bis.pasteur.fr>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2009:1579

httpd security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2009-1579.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/httpd-2.0.46-77.ent.centos.x86_64.rpm
updates/x86_64/RPMS/httpd-devel-2.0.46-77.ent.centos.x86_64.rpm
updates/x86_64/RPMS/mod_ssl-2.0.46-77.ent.centos.x86_64.rpm

source:
updates/SRPMS/httpd-2.0.46-77.ent.centos.src.rpm

You may update your CentOS-3 x86_64 installations by running the command:

yum update httpd\ mod_ssl

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20091112/d96f73e4/attachment-0001.bin
 

--

Message: 3
Date: Thu, 12 Nov 2009 23:39:15 +0100
From: Tru Huynh 
Subject: [CentOS-announce] CESA-2009:1580 Moderate CentOS 4 i386 httpd
-   security update
To: centos-annou...@centos.org
Message-ID: <20091112223915.gc16...@sillage.bis.pasteur.fr>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2009:1580

httpd security update for CentOS 4 i386:
https://rhn.redhat.com/errata/RHSA-2009-1580.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/httpd-2.0.52-41.ent.6.centos4.i386.rpm
updates/i386/RPMS/httpd-devel-2.0.52-41.ent.6.centos4.i386.rpm
updates/i386/RPMS/httpd-manual-2.0.52-41.ent.6.centos4.i386.rpm
updates/i386/RPMS/httpd-suexec-2.0.52-41.ent.6.centos4.i386.rpm
updates/i386/RPMS/mod_ssl-2.0.52-41.ent.6.centos4.i386.rpm

source:
updates/SRPMS/httpd-2.0.52-41.ent.6.centos4.src.rpm

You may update your CentOS-4 i386 installations by running the command:

yum update httpd\* mod_ssl

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/

Re: [CentOS] yum-changelog dependencies...

2009-11-13 Thread Karanbir Singh
On 11/13/2009 04:51 PM, John Doe wrote:
> Hi,
>
> I wanted to try yum-changelog, so I yum installed it.
> It installed without complaining.
> But, when I try to use it, it complains about a missing module:
> "Dateutil module not available, so can't parse dates"
> Missing dependency?
> Only package I found is python-dateutil.noarch from rpmforge.
> Is it the one?

verify - and please file at bugs.centos.org

-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread MIKE - EMAIL IGNORED
On Fri, 13 Nov 2009 06:22:02 -0800, John Doe wrote:

> From: MIKE - EMAIL IGNORED
> 
>> On Fri, 13 Nov 2009 02:27:18 -0800, John Doe wrote:
>> > From: MIKE - EMAIL IGNORED
>> >> On CentOS 5.4 I just installed K3B to write some CDs.  Now every
>> >> time I used a CD, I get a popup that asks me to "Select a CDDB entry
>> >> ...". How can I stop this popup?
>> > 
>> > Tried the 'configure k3b' menu?
>> > There's a CDDB section...
>> 
>> Yes, I unchecked the things in the CDDB section. The popup still
>> appears.
> 
> I have local CDDB, maybe that's why I don't get popups?
> 
>   $ cat ~/.kde/share/config/k3brc
>   [Cddb]
>   cddb server=Http freedb.org:80
>   cgi path=/~cddb/cddb.cgi
>   local cddb dirs=~/.cddb/
>   save cddb entries locally=true
>   use local cddb query=true
>   use manual cgi path=false
>   use remote cddb=false
> 
> But I never inserted an audio CD, so cannot be sure...
>
> JD
Didn't work.  Then I ran "yum remove k3b" and I still
had the problem.  The popup top says "KsCD" and I found
an item on the menu by that name.  I checked "Cache Only"
in its configuration FWIW.  Also in Control Center ->
Peripherals -> Storage Media, I clicked "Do Nothing".
For now, the popups stopped.

Is there a way to remove KsCD?  There is no audio on the system.

Mike.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS lists now searchable via MarkMail.org

2009-11-13 Thread Monte Milanuk
Hello,

Just thought I'd drop a note here... a short while ago I was searching 
for some info on CentOS, and having been exposed to markmail.org via the 
R-project  I went to markmail to 
do some digging. At that time, they didn't carry the CentOS lists yet, 
but after a simple request, now they do. The interface lends itself more 
to searching and drilling down after specific information than strictly 
browsing, but I thought others here might find it of use.  Please pass 
it along if you find it of value.

Here's the link:  http://centos.markmail.org/search/

HTH,

Monte
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Print stuck in queue

2009-11-13 Thread Robert Heller
At Fri, 13 Nov 2009 08:36:56 -0800 (PST) CentOS mailing list 
 wrote:

> 
> From: Robert Moskowitz 
> > I have some prints stuck in my print queue from firefox.
> > I tried restarting CUPS, no change.
> > What can I do?  I don't think I should have to reboot.
> 
> Checked in CUPS web interface?  http://localhost.localdomain:631/
> Or with the lp*.cups tools?

lpstat -t

also: have a look at /var/log/messages

You might want  to change the settings in /etc/cups/cups.conf to
increase the verbosity of the error log.

> 
> JD
> 
> 
>   
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>   
>   

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/
  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Print stuck in queue

2009-11-13 Thread Robert Moskowitz
John Doe wrote:
> From: Robert Moskowitz 
>   
>> I have some prints stuck in my print queue from firefox.
>> I tried restarting CUPS, no change.
>> What can I do?  I don't think I should have to reboot.
>> 
>
> Checked in CUPS web interface?  http://localhost.localdomain:631/
>   

Wow!!! I did not know about this!!!

On the Printer tab, I just restarted the printer and my print came out 
and OpenOffice Writer was able to print again as well.

THANKS!

My new thing I learned today


> Or with the lp*.cups tools?
>
> JD
>
>
>   
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS lists now searchable via MarkMail.org

2009-11-13 Thread Geerd-Dietger Hoffmann
Hey

On Fri, Nov 13, 2009 at 5:15 PM, Monte Milanuk  wrote:
> Hello,
>
> Just thought I'd drop a note here... a short while ago I was searching
> for some info on CentOS, and having been exposed to markmail.org via the
> R-project  I went to markmail to
> do some digging. At that time, they didn't carry the CentOS lists yet,
> but after a simple request, now they do. The interface lends itself more
> to searching and drilling down after specific information than strictly
> browsing, but I thought others here might find it of use.  Please pass
> it along if you find it of value.
>
> Here's the link:  http://centos.markmail.org/search/

Thank you for requesting this. I am sure some people will find this useful.

Cheers Didi

>
> HTH,
>
> Monte
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 


My www page: www.ribalba.de
Email / Jabber: riba...@gmail.com
Skype : ribalba
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] finding a memory leak - committed memory SPIKES!

2009-11-13 Thread Alan McKay
> Usually you just run top and look at the top line - or the thing with
> the biggest 'RES' value.

What does that coorespond to w.r.t. values in ps.

I'm doing : ps -eo sz,rssize,vsize,size

Every 5 minutes (with Munin) and totalling up each of those 4, and
graphing them.  None of them appear to be growing.   I'm only checking
the db2 processes and totalling up all db2 processes in each of those
4 areas.

I'm reasonably sure it is db2 doing it.   If I look at the full
process list with the above, these are the only processes taking any
amount of space, and this is the only thing running on this box.

But so far I think i've determined that "committed" as found in /proc
does not have any equivalent value in the process list.  Not that I
have been able to find at least.

I suppose it could be something other than db2 since this is the only
thing I'm graphing in this way.  But I'm not sure what else it would
be since I have a number of other equivalent machines and none of them
do this.


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] vsftpd question

2009-11-13 Thread Victor Subervi
Hi;
I've learned how to add a user and change the root dir of vsftpd (which of
course is undocumented). Now I need to learn how to make it so that a given
user can only access his/her folder (within the root dir). Please advise.
TIA,
Victor
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] On-Boot Scripts

2009-11-13 Thread Victor Subervi
Hi;
Where do I add my on-bootup scripts?
TIA,
Victor
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd question

2009-11-13 Thread Karanbir Singh
On 11/13/2009 07:16 PM, Victor Subervi wrote:
> Hi;
> I've learned how to add a user and change the root dir of vsftpd (which
> of course is undocumented). Now I need to learn how to make it so that a
> given user can only access his/her folder (within the root dir). Please

not sure what docs you are looking at - but all these things are quite 
clearly documented in the vsftpd docs and config files. Start by looking 
there.

It almost seems as if you are relying on this list to be your sysadmin 
and your sp0onfeeder.

eg. Start by indicating what docs you have looked and what is it that 
you didnt find.

Also, be considerate and dont top post. if you dont know what that means 
- go look it up

-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Larry Brigman
On Fri, Nov 13, 2009 at 11:19 AM, Victor Subervi
 wrote:
> Hi;
> Where do I add my on-bootup scripts?
> TIA,
> Victor

either write an init script to be added to /etc/rc.d/init.d or
add it to the end of /etc/rc.d/rc.local
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Karanbir Singh
On 11/13/2009 07:19 PM, Victor Subervi wrote:
> Hi;
> Where do I add my on-bootup scripts?

To a place where they will run on boot time. If you dont know where that 
is www.centos.org/docs/5/ and look at the sysadmin guide.

-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Karanbir Singh
On 11/13/2009 07:21 PM, Larry Brigman wrote:
> either write an init script to be added to /etc/rc.d/init.d or
> add it to the end of /etc/rc.d/rc.local

It looks, to me, that Victor is at a stage where he does not know what 
he is doing with the basic stuff - pointing him at good docs might be 
worth more than spoon-feeding.

just my 2bits

-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread Robert


MIKE - EMAIL IGNORED wrote:
> On Fri, 13 Nov 2009 06:22:02 -0800, John Doe wrote:
>
>   
>> From: MIKE - EMAIL IGNORED
>> 
>> 
>>> On Fri, 13 Nov 2009 02:27:18 -0800, John Doe wrote:
>>>   
 From: MIKE - EMAIL IGNORED
 
> On CentOS 5.4 I just installed K3B to write some CDs.  Now every
> time I used a CD, I get a popup that asks me to "Select a CDDB entry
> ...". How can I stop this popup?
>   
 Tried the 'configure k3b' menu?
 There's a CDDB section...
 
>>> Yes, I unchecked the things in the CDDB section. The popup still
>>> appears.
>>>   
>> I have local CDDB, maybe that's why I don't get popups?
>>
>>   $ cat ~/.kde/share/config/k3brc
>>   [Cddb]
>>   cddb server=Http freedb.org:80
>>   cgi path=/~cddb/cddb.cgi
>>   local cddb dirs=~/.cddb/
>>   save cddb entries locally=true
>>   use local cddb query=true
>>   use manual cgi path=false
>>   use remote cddb=false
>>
>> But I never inserted an audio CD, so cannot be sure...
>>
>> JD
>> 
> Didn't work.  Then I ran "yum remove k3b" and I still
> had the problem.  The popup top says "KsCD" and I found
> an item on the menu by that name.  I checked "Cache Only"
> in its configuration FWIW.  Also in Control Center ->
> Peripherals -> Storage Media, I clicked "Do Nothing".
> For now, the popups stopped.
>
> Is there a way to remove KsCD?  There is no audio on the system.
>
> Mike.
>   
Kscd is part of the kdemultimedia package:

[r...@mavis rj]# rpm -q --whatprovides /usr/bin/kscd
kdemultimedia-3.5.4-2.fc6

You might want to worry about what else is in that package before 
tossing it:

[r...@mavis rj]# rpm -ql kdemultimedia | wc -l
1077
[r...@mavis rj]#

You might find a config option in /usr/share/config.kcfg/kscd.kcfg but 
that's an XML file.
Another thought is to rename the executable and see what havoc that 
causes or look at the spec file in the src.rpm with the idea of getting 
rid of the junk the right way.

Good luck!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread m . roth
> On 11/13/2009 07:21 PM, Larry Brigman wrote:
>> either write an init script to be added to /etc/rc.d/init.d or
>> add it to the end of /etc/rc.d/rc.local
>
> It looks, to me, that Victor is at a stage where he does not know what
> he is doing with the basic stuff - pointing him at good docs might be
> worth more than spoon-feeding.
>
O'Reilly, publisher: either Frisch's Essential Systems Administration, or
the Linux Systems Administration.

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread MIKE - EMAIL IGNORED
On Fri, 13 Nov 2009 13:29:10 -0600, Robert wrote:

> MIKE - EMAIL IGNORED wrote:
>> On Fri, 13 Nov 2009 06:22:02 -0800, John Doe wrote:
>>
>>
>>> From: MIKE - EMAIL IGNORED
>>> 
>>> 
 On Fri, 13 Nov 2009 02:27:18 -0800, John Doe wrote:
   
> From: MIKE - EMAIL IGNORED
> 
>> On CentOS 5.4 I just installed K3B to write some CDs.  Now every
>> time I used a CD, I get a popup that asks me to "Select a CDDB
>> entry ...". How can I stop this popup?
>>   
> Tried the 'configure k3b' menu?
> There's a CDDB section...
> 
 Yes, I unchecked the things in the CDDB section. The popup still
 appears.
   
>>> I have local CDDB, maybe that's why I don't get popups?
>>>
>>>   $ cat ~/.kde/share/config/k3brc
>>>   [Cddb]
>>>   cddb server=Http freedb.org:80
>>>   cgi path=/~cddb/cddb.cgi
>>>   local cddb dirs=~/.cddb/
>>>   save cddb entries locally=true
>>>   use local cddb query=true
>>>   use manual cgi path=false
>>>   use remote cddb=false
>>>
>>> But I never inserted an audio CD, so cannot be sure...
>>>
>>> JD
>>> 
>> Didn't work.  Then I ran "yum remove k3b" and I still had the problem. 
>> The popup top says "KsCD" and I found an item on the menu by that name.
>>  I checked "Cache Only" in its configuration FWIW.  Also in Control
>> Center -> Peripherals -> Storage Media, I clicked "Do Nothing". For
>> now, the popups stopped.
>>
>> Is there a way to remove KsCD?  There is no audio on the system.
>>
>> Mike.
>>   
> Kscd is part of the kdemultimedia package:
> 
> [r...@mavis rj]# rpm -q --whatprovides /usr/bin/kscd
> kdemultimedia-3.5.4-2.fc6
> 
> You might want to worry about what else is in that package before
> tossing it:
> 
> [r...@mavis rj]# rpm -ql kdemultimedia | wc -l 1077
> [r...@mavis rj]#
> 
> You might find a config option in /usr/share/config.kcfg/kscd.kcfg but
> that's an XML file.
> Another thought is to rename the executable and see what havoc that
> causes or look at the spec file in the src.rpm with the idea of getting
> rid of the junk the right way.
> 
> Good luck!

Thanks, I just ran "yum remove kdemultimedia".  Since the box is
used primarily for C++ code development, and occasionally as a
web server, I have a strong feeling that I won't miss it.  If I
do, I could reinstall it.

Mike.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Victor Subervi
On Fri, Nov 13, 2009 at 2:47 PM,  wrote:

> > On 11/13/2009 07:21 PM, Larry Brigman wrote:
> >> either write an init script to be added to /etc/rc.d/init.d or
> >> add it to the end of /etc/rc.d/rc.local
> >
> > It looks, to me, that Victor is at a stage where he does not know what
> > he is doing with the basic stuff - pointing him at good docs might be
> > worth more than spoon-feeding.
>

I'm a bit rusty. It's been a couple of years since I've run my own server,
and I don't know this OS. And as we all know, each OS is different. I'm
trying to install scripts I wrote years ago to do my MySQL backups.

As for pointing me to the docs, I looked through them but couldn't make
heads or tails of them. Yes, I need to study them, but right now I just need
to get some basic things working so that I can make a little money and put
food on the table :)

I've loaded my scripts to /etc/rc.d/init.d Now how do I schedule my cron
jobs?
TIA,
V
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Alan Sparks
Victor Subervi wrote:
> I'm a bit rusty. It's been a couple of years since I've run my own
> server, and I don't know this OS. And as we all know, each OS is
> different. I'm trying to install scripts I wrote years ago to do my
> MySQL backups.
>
> I've loaded my scripts to /etc/rc.d/init.d Now how do I schedule my
> cron jobs?

I'd call this a little more than a "bit rusty."
Google "crontab", or do a "man crontab" and a "man 5 crontab".
Please note you do not have to install the scripts to init.d to run them
as cron jobs.
-Alan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Bowie Bailey
Victor Subervi wrote:
> On Fri, Nov 13, 2009 at 2:47 PM,  > wrote:
>
> > On 11/13/2009 07:21 PM, Larry Brigman wrote:
> >> either write an init script to be added to /etc/rc.d/init.d or
> >> add it to the end of /etc/rc.d/rc.local
> >
> > It looks, to me, that Victor is at a stage where he does not
> know what
> > he is doing with the basic stuff - pointing him at good docs
> might be
> > worth more than spoon-feeding.
>
>
> I'm a bit rusty. It's been a couple of years since I've run my own
> server, and I don't know this OS. And as we all know, each OS is
> different. I'm trying to install scripts I wrote years ago to do my
> MySQL backups.
>
> As for pointing me to the docs, I looked through them but couldn't
> make heads or tails of them. Yes, I need to study them, but right now
> I just need to get some basic things working so that I can make a
> little money and put food on the table :)
>
> I've loaded my scripts to /etc/rc.d/init.d Now how do I schedule my
> cron jobs?

Drop them into /etc/cron.daily (or hourly, weekly, or monthly).  Or for
a bit more control, try "crontab -e" as the user the scripts should run
under.  "man 5 crontab", for the crontab file syntax.

-- 
Bowie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd question

2009-11-13 Thread Victor Subervi
On Fri, Nov 13, 2009 at 2:20 PM, Karanbir Singh wrote:

> On 11/13/2009 07:16 PM, Victor Subervi wrote:
> > Hi;
> > I've learned how to add a user and change the root dir of vsftpd (which
> > of course is undocumented). Now I need to learn how to make it so that a
> > given user can only access his/her folder (within the root dir). Please
>
> not sure what docs you are looking at - but all these things are quite
> clearly documented in the vsftpd docs and config files. Start by looking
> there.
>

Well, you all pointed me to some documentation that was hardly worthy of the
name. In fact, I'd dare say that "vsftp" stands for "Very SansDocs FTP". I
googled and discovered a script for creating and adding users to vsftpd, and
how to change the doc root--stuff that should be right up front in any
documentation for an ftp server worth the name--but was unsuccessful in
finding how to point certain users to certain folders within the doc root.

>
> It almost seems as if you are relying on this list to be your sysadmin
> and your sp0onfeeder.
>

I apologize. It's been several years since I ran a server and I just need to
get this server up and running. I'm unfamiliar with the OS, and each OS is
different. I'll study the docs after I get up on my feet. And yesterday was
an emergency because of my own stupidity. Everyone makes stupid mistakes,
even you guys, and everyone has emergencies, so I hope you'll be a little
understanding.

>
> eg. Start by indicating what docs you have looked and what is it that
> you didnt find.
>

Again, I googled this. man vsftpd has virtually nothing. Googling "vsftpd
docs" gives about as much. Also tried man vsftpd.conf which was much more
useful but still didn't provide the information I need, which it seems to me
is fundamental! Perhaps I've missed something, and if I have, I apologize in
advance.

>
> Also, be considerate and dont top post. if you dont know what that means
> - go look it up
>

I haven't been doing that for quite some time now, except when I'm thanking
you all for help, in which case I believe it's easier for all concerned. Do
you disagree?
TIA,
V
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Victor Subervi
Perfect. Thanks!
V

On Fri, Nov 13, 2009 at 3:26 PM, Bowie Bailey  wrote:

> Victor Subervi wrote:
> > On Fri, Nov 13, 2009 at 2:47 PM,  > > wrote:
> >
> > > On 11/13/2009 07:21 PM, Larry Brigman wrote:
> > >> either write an init script to be added to /etc/rc.d/init.d or
> > >> add it to the end of /etc/rc.d/rc.local
> > >
> > > It looks, to me, that Victor is at a stage where he does not
> > know what
> > > he is doing with the basic stuff - pointing him at good docs
> > might be
> > > worth more than spoon-feeding.
> >
> >
> > I'm a bit rusty. It's been a couple of years since I've run my own
> > server, and I don't know this OS. And as we all know, each OS is
> > different. I'm trying to install scripts I wrote years ago to do my
> > MySQL backups.
> >
> > As for pointing me to the docs, I looked through them but couldn't
> > make heads or tails of them. Yes, I need to study them, but right now
> > I just need to get some basic things working so that I can make a
> > little money and put food on the table :)
> >
> > I've loaded my scripts to /etc/rc.d/init.d Now how do I schedule my
> > cron jobs?
>
> Drop them into /etc/cron.daily (or hourly, weekly, or monthly).  Or for
> a bit more control, try "crontab -e" as the user the scripts should run
> under.  "man 5 crontab", for the crontab file syntax.
>
> --
> Bowie
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Jim Perrin
On Fri, Nov 13, 2009 at 3:15 PM, Victor Subervi  wrote:

> I'm a bit rusty. It's been a couple of years since I've run my own server,
> and I don't know this OS. And as we all know, each OS is different. I'm
> trying to install scripts I wrote years ago to do my MySQL backups.

While this list exists for helping members share knowledge, it really
shouldn't be used as a substitute for google. Being rusty isn't a
valid excuse for this.

> As for pointing me to the docs, I looked through them but couldn't make
> heads or tails of them. Yes, I need to study them, but right now I just need
> to get some basic things working so that I can make a little money and put
> food on the table :)

Time invested doing things right at the beginning will save you time
exponentially later. Just because YOU need to get things done now
doesn't really justify hitting the list for every little question. YOU
are the one getting paid to do the job, not us.

> I've loaded my scripts to /etc/rc.d/init.d Now how do I schedule my cron
> jobs?

Cron job scheduling hasn't changed meaningfully in at least a decade.
You're far beyond the 'rusty' point here, and still not using the
documentation or google because you're in a hurry.

I personally consider this behavior to be rude to other members of the
list who legitimately need assistance.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd question

2009-11-13 Thread Karanbir Singh
On 11/13/2009 08:29 PM, Victor Subervi wrote:
> Well, you all pointed me to some documentation that was hardly worthy of
> the name.

well, did you look at the vsftpd man page and also the config file that 
is in the package ? I see everything that I need to do all these things 
very clearly mentioned, even has examples on most things.

> I haven't been doing that for quite some time now, except when I'm
> thanking you all for help, in which case I believe it's easier for all
> concerned. Do you disagree?

dont top post at all.

-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd question

2009-11-13 Thread Andrei F
Hi,

Take a look at the chroot_list_enable option. It enables you to specify
per-user config.

http://vsftpd.beasts.org/vsftpd_conf.html

Cheers!

--
Andrei

On Fri, Nov 13, 2009 at 2:16 PM, Victor Subervi wrote:

> Hi;
> I've learned how to add a user and change the root dir of vsftpd (which of
> course is undocumented). Now I need to learn how to make it so that a given
> user can only access his/her folder (within the root dir). Please advise.
> TIA,
> Victor
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd question

2009-11-13 Thread Jim Perrin
On Fri, Nov 13, 2009 at 2:16 PM, Victor Subervi  wrote:
> Hi;
> I've learned how to add a user and change the root dir of vsftpd (which of
> course is undocumented). Now I need to learn how to make it so that a given
> user can only access his/her folder (within the root dir). Please advise.

Please stop being rude to the members of this list.

This list is for people who are having trouble accomplishing a set
task or have a question. It is not a 'system administration by proxy'
tool because you can't be bothered to try on your own, or are to
busy/lazy to read the documentation.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] run script on logout

2009-11-13 Thread R P Herrold
On Fri, 13 Nov 2009, Janez Kosmrlj wrote:

> Does anyone have an idea how to run a script when the user logs out.

same answer as last week: check out inotify

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Robert Heller
At Fri, 13 Nov 2009 15:15:16 -0500 CentOS mailing list  
wrote:

> 
> 
> 
> On Fri, Nov 13, 2009 at 2:47 PM,  wrote:
> 
> > > On 11/13/2009 07:21 PM, Larry Brigman wrote:
> > >> either write an init script to be added to /etc/rc.d/init.d or
> > >> add it to the end of /etc/rc.d/rc.local
> > >
> > > It looks, to me, that Victor is at a stage where he does not know what
> > > he is doing with the basic stuff - pointing him at good docs might be
> > > worth more than spoon-feeding.
> >
> 
> I'm a bit rusty. It's been a couple of years since I've run my own server,
> and I don't know this OS. And as we all know, each OS is different. I'm
> trying to install scripts I wrote years ago to do my MySQL backups.

You probably don't want to do your MySQL backups only at boot time.  I
think what you really need is to look at crontab's documentation. 
Unless your MySQL backup scripts themselves behave like deamons and do
their own cron-like behaviour.

There are really only two main flavors of UNIX/Linux boot
methods/schools.  The BSD school and the SYS V school.  *Most* Linux
distros (including RedHat's) favor the SYS V school: little scripts in
/etc/init.d (or /etc/rc.d/init.d, depending on the vintage), with
symlinks in /etc/rcN.d/.  The BSD school has a set of scripts for each
run level.  I *think* Slackware uses this method (just because Slackware
likes to be different).

> 
> As for pointing me to the docs, I looked through them but couldn't make
> heads or tails of them. Yes, I need to study them, but right now I just need
> to get some basic things working so that I can make a little money and put
> food on the table :)
> 
> I've loaded my scripts to /etc/rc.d/init.d Now how do I schedule my cron
> jobs?

Cron job scripts don't go in /etc/rc.d/init.d!.  You can (should!) put
them someplace else.  It does not really matter where (but should be
someplace sensable).  You schedule them using crontab -- there are TWO
manpages you should read: man 1 crontab (using the command to list or
edit a crontab file) AND man 5 crontab (format of the entries in the
file).  Read *both* pages carefully.

> TIA,
> V
> 
> MIME-Version: 1.0
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>   
> 

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/

  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Eugeneapolinary Ju
hi!

does anyone has a good howto, docs how to set up an smtp, pop3, imap server, 
with webmail, and has anti virus solution, and even spam filtering? :D [plus 
secure connection for the clients :D ]

wich softwares are the best for this? [e.g.: "vsftpd is the most secure ftp 
server"..]

users would be from /etc/passwd [so not virtual users]

thank you!

p.s.: I've already googled :( :\


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Rob Kampen



Eugeneapolinary Ju wrote:

hi!

does anyone has a good howto, docs how to set up an smtp, pop3, imap server, 
with webmail, and has anti virus solution, and even spam filtering? :D [plus 
secure connection for the clients :D ]

wich softwares are the best for this? [e.g.: "vsftpd is the most secure ftp 
server"..]

users would be from /etc/passwd [so not virtual users]

thank you!

p.s.: I've already googled :( :\


  
___

CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  

How about using the CentOS wiki -
I have used this and know it works as advertised!
HTH
<>___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Frank Cox
On Fri, 13 Nov 2009 13:56:29 -0800 (PST)
Eugeneapolinary Ju wrote:

> p.s.: I've already googled :( :\

You also asked this exact same question on the Fedora mailing list.   I
answered it for you there.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Les Mikesell
Eugeneapolinary Ju wrote:
> hi!
>
> does anyone has a good howto, docs how to set up an smtp, pop3, imap server, 
> with webmail, and has anti virus solution, and even spam filtering? :D [plus 
> secure connection for the clients :D ]
>
> wich softwares are the best for this? [e.g.: "vsftpd is the most secure ftp 
> server"..]
>
> users would be from /etc/passwd [so not virtual users]
>
>   

If you want a appliance-like distribution that does this out of the box, 
look at SME server from www.contribs.org.  Otherwise, look at MimeDefang 
and clamav for filtering (both in rpmforge), and horde or squirrelmail.

-- 
  Les Mikesell
   lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum-changelog dependencies...

2009-11-13 Thread Geerd-Dietger Hoffmann
On Fri, Nov 13, 2009 at 5:04 PM, Karanbir Singh  wrote:
> On 11/13/2009 04:51 PM, John Doe wrote:
>> Hi,
>>
>> I wanted to try yum-changelog, so I yum installed it.
>> It installed without complaining.
>> But, when I try to use it, it complains about a missing module:
>> "Dateutil module not available, so can't parse dates"
>> Missing dependency?
>> Only package I found is python-dateutil.noarch from rpmforge.
>> Is it the one?
>
> verify - and please file at bugs.centos.org

Seams to work for me. Sorry

Loaded plugins: changelog, fastestmirror

What happens when you start python manually and try to "import time"
for example. Maybe have a look at the file

/usr/lib/yum-plugins/changelog.pyc

if you know programing this should make sense.

Hope this helped.

Cheers Didi

>
> --
> Karanbir Singh : http://www.karan.org/  : 2522...@icq
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 


My www page: www.ribalba.de
Email / Jabber: riba...@gmail.com
Skype : ribalba
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum-changelog dependencies...

2009-11-13 Thread Geerd-Dietger Hoffmann
On Fri, Nov 13, 2009 at 10:48 PM, Geerd-Dietger Hoffmann
 wrote:
> On Fri, Nov 13, 2009 at 5:04 PM, Karanbir Singh  wrote:
>> On 11/13/2009 04:51 PM, John Doe wrote:
>>> Hi,
>>>
>>> I wanted to try yum-changelog, so I yum installed it.
>>> It installed without complaining.
>>> But, when I try to use it, it complains about a missing module:
>>> "Dateutil module not available, so can't parse dates"
>>> Missing dependency?
>>> Only package I found is python-dateutil.noarch from rpmforge.
>>> Is it the one?
>>
>> verify - and please file at bugs.centos.org
>
> Seams to work for me. Sorry
>
> Loaded plugins: changelog, fastestmirror
>
> What happens when you start python manually and try to "import time"
> for example. Maybe have a look at the file
>
> /usr/lib/yum-plugins/changelog.pyc

Sorry look at /usr/lib/yum-plugins/changelog.py

pyc is the compiled version.

>
> if you know programing this should make sense.
>
> Hope this helped.
>
> Cheers Didi
>
>>
>> --
>> Karanbir Singh : http://www.karan.org/  : 2522...@icq
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
> 
>
> My www page: www.ribalba.de
> Email / Jabber: riba...@gmail.com
> Skype : ribalba
>



-- 


My www page: www.ribalba.de
Email / Jabber: riba...@gmail.com
Skype : ribalba
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Frank Cox
On Fri, 13 Nov 2009 16:45:25 -0600
Les Mikesell wrote:

>  horde or squirrelmail.

I use squirrelmail.  Never used horde.

Having said that, I see a lot more automated bot attacks against horde* in my
logs than I see against squirrelmail.  So in the absence of any other measure
of security, horde is getting attacked more than squirrelmail.

Again, I know nothing whatsoever about horde other than that.  But it's a point
I believe worthy of consideration.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Craig White
On Fri, 2009-11-13 at 16:54 -0600, Frank Cox wrote:
> On Fri, 13 Nov 2009 16:45:25 -0600
> Les Mikesell wrote:
> 
> >  horde or squirrelmail.
> 
> I use squirrelmail.  Never used horde.
> 
> Having said that, I see a lot more automated bot attacks against horde* in my
> logs than I see against squirrelmail.  So in the absence of any other measure
> of security, horde is getting attacked more than squirrelmail.
> 
> Again, I know nothing whatsoever about horde other than that.  But it's a 
> point
> I believe worthy of consideration.

Probably because horde is much more popular. Horde does so much more
than squirrelmail it hardly warrants comparison.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Frank Cox
On Fri, 13 Nov 2009 16:17:59 -0700
Craig White wrote:

> Probably because horde is much more popular. Horde does so much more
> than squirrelmail it hardly warrants comparison.

Meh.  Squirrelmail does what it's intended to do.  Perhaps the additional
features offered by Horde provide a larger surface for the bad guys to attack.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-13 Thread Craig White
On Fri, 2009-11-13 at 17:59 -0600, Frank Cox wrote:
> On Fri, 13 Nov 2009 16:17:59 -0700
> Craig White wrote:
> 
> > Probably because horde is much more popular. Horde does so much more
> > than squirrelmail it hardly warrants comparison.
> 
> Meh.  Squirrelmail does what it's intended to do.  Perhaps the additional
> features offered by Horde provide a larger surface for the bad guys to attack.

of course... that's what happens when you have a larger array of
services but that's not why the attacks. The attacks are largely to
exploit PHP weaknesses.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] On-Boot Scripts

2009-11-13 Thread Tracy Phillips
On Fri, Nov 13, 2009 at 11:25 AM, Karanbir Singh  wrote:
it to the end of /etc/rc.d/rc.local
>
> It looks, to me, that Victor is at a stage where he does not know what
> he is doing with the basic stuff - pointing him at good docs might be
> worth more than spoon-feeding.
>
> just my 2bits

Sometimes, I even wonder why there is a list all. After all pretty
much everything is documented.

To socialize with I guess

just my 2cents.

TP
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd question

2009-11-13 Thread Steven Vishoot




- Original Message 
> From: Jim Perrin 
> To: CentOS mailing list 
> Sent: Fri, November 13, 2009 3:31:42 PM
> Subject: Re: [CentOS] vsftpd question
> 
> On Fri, Nov 13, 2009 at 2:16 PM, Victor Subervi wrote:
> > Hi;
> > I've learned how to add a user and change the root dir of vsftpd (which of
> > course is undocumented). Now I need to learn how to make it so that a given
> > user can only access his/her folder (within the root dir). Please advise.
> 
> Please stop being rude to the members of this list.
> 
> This list is for people who are having trouble accomplishing a set
> task or have a question. It is not a 'system administration by proxy'
> tool because you can't be bothered to try on your own, or are to
> busy/lazy to read the documentation.
> 
> 
> -- 
> During times of universal deceit, telling the truth becomes a revolutionary 
> act.
> George Orwell
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos



Jim,

thank you for saying that, I was almost at the point myself to go off on this 
person for being lazy. I do not think it is being busy that he is hitting this 
list so much for simple to find answers.

my 2 cents worth

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] pan news reader

2009-11-13 Thread MIKE - EMAIL IGNORED
Does anyone know if the pan news reader works
on CentOS 5.4?  I am considering installing
version 0.132 that I downloaded from
pan.rebelbase.com .

Thanks for your advice.

Mike.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pan news reader

2009-11-13 Thread Ron Loftin

On Sat, 2009-11-14 at 03:38 +, MIKE - EMAIL IGNORED wrote:
> Does anyone know if the pan news reader works
> on CentOS 5.4?  I am considering installing
> version 0.132 that I downloaded from
> pan.rebelbase.com .
> 

I'm using 0.133 from rpmforge.  Seems to work fine.

> Thanks for your advice.
> 
> Mike.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
Ron Loftin  relof...@twcny.rr.com

"God, root, what is difference ?"   Piter from UserFriendly

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-13 Thread Nifty Cluster Mitch
On Tue, Nov 10, 2009 at 01:05:36AM -0600, Frank Cox wrote:
> On Tue, 10 Nov 2009 07:53:30 +0100
> Mogens Kjaer wrote:
> 
> > > The file command will verify that for you.
> > 
> > Are you sure?
> 
> Well, I guess not then.  I assumed that "file" would treat a .py file as a 
> text
> file.  I don't do any programming with Python and haven't looked at it 
> closely.
> 
> "file" tells me that a file that's created with Borland Turbo C (DOS) is
> "data", but a file of C source code that's created with Linux gedit is "ASCII 
> C
> program text".
> 
> A text file that's created with the DOS "edit" command is "ASCII English text,
> with CRLF line terminators", and a text file that's created with Linux gedit 
> is
> "ASCII text".
> 
> So file can tell the difference in pretty much every case except for a Python
> file.   Which may be an oversight in the magic definitions.


I missed the early part so I am not sure what is "Serious"
in this so excuse me for arriving late but it all appears 
normal and natural to me.

Python programs are of two types.Text files that are interpreted
at runtime  and have a first line that specifies the interpreter: 
   #!  /usr/bin/python
and bytecode python programs.

A text file in DOS mode because the "#!" interpreter fails.
If there is no white space after python the error makes more
sense:
   $ ./bar.py
   bash: ./bar.py: /usr/bin/python^M: bad interpreter: No such file or directory

If there is white space after the n in python in the #! escape line
the error is less clear.

The script with  DOS mode or unix mode new line conventions can be 
compiled to python byte code or just executed with python.
$ python ./bar.py
Hello
And compiled.
$ ls -l bar*
-rwxr-xr-x 1 bob bob 36 2009-11-13 20:25 bar.py

$ py_compilefiles bar.py
Compiling bar.py ...

$ ls -l bar*
-rwxr-xr-x 1 bob bob  36 2009-11-13 20:25 bar.py
-rw-r--r-- 1 bob bob 108 2009-11-13 20:29 bar.pyc

$ chmod +x bar.pyc

$ ./bar.pyc
Hello

$ file ./bar.pyc
./bar.pyc: python 2.6 byte-compiled

Since the #! escape  for /usr/bin/python is seen in the 
text of the script by "file" it "corretly" notices that
this is a python script.  I say "correctly" because the
python interpreter and compiler has no trouble with it.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OMG! Microsoft patents sudo! Linux and MacOS dead!

2009-11-13 Thread Nifty Cluster Mitch
On Thu, Nov 12, 2009 at 08:27:22AM -0500, Robert Heller wrote:
> At Thu, 12 Nov 2009 21:07:15 +0800 CentOS mailing list  
> wrote:
> 
> > 
> > 
> > 
> > http://blogs.computerworld.com/15082/omg_microsoft_patents_sudo_linux_and_macos_dead?source=CTWNLE_nlt_dailyam_2009-11-12
> 
> 
> Is this for real?  Blogs.computerworld.com seems to be down/dead/broken
> database...
> 

Yes real.
But they have not patented sudo but a twist on it.

As best I can tell they have solved one of the things I hate about WindowZ
security.  It is that it is opaque.   This twist opens some windows of
information to the user when  privledge change is needed. i.e. and hints
what account/ password to type and has the data and authentication methods
to get there.

The patent was filed in 2004 or so so ya got to reach back into 
the way back machine if you are going to find prior art.

The best place to look is in retail software and the data base 
world perhaps banking software.   

If I understand it... this system has it all and I have 
seen it in action for years...
Retail,
Login
   enter coat #SKU12345
   price $1234567.00
Customer has a coupon to get the coat for $5.00
   enter price override #SKU12345 to $5.00 one time
   Bzzz- call manager override and approval required
   manger pass word ** entered
Customer pays $5.00 and checks out.

A common view of an operating system is a data base engine
that manages data including authentication.   The data base
folk have been doing this for decades.  I fail to see
anything new here.   

Anyhow this was posted on /. and discussed in depth and to death.

   
http://yro.slashdot.org/story/09/11/11/2055226/Microsoft-Patents-Sudos-Behavior

   
http://patft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/PTO/srchnum.htm&r=1&f=G&l=50&s1=7,617,530.PN.&OS=PN/7,617,530&RS=PN/7,617,530













___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pan news reader

2009-11-13 Thread Mr. X


--- On Fri, 11/13/09, MIKE - EMAIL IGNORED  wrote:

> From: MIKE - EMAIL IGNORED 
> Subject: [CentOS] pan news reader
> To: centos@centos.org
> Date: Friday, November 13, 2009, 7:38 PM
> Does anyone know if the pan news
> reader works
> on CentOS 5.4?  I am considering installing
> version 0.132 that I downloaded from
> pan.rebelbase.com .
> 
> Thanks for your advice.

Pan is very strong with binary news. 
  Choose your NZB file from a site like www.binsearch.info

then call Pan from a prompt 
   $pan -nzb file.nzb -o ./

it opens a window dedicated to this download with all the parts
listed in the NZB. You can eliminate some of the PAR2 parity files if you want.

Once all the desired PAR and rar parts are down, then do a parity check
   $par2 v filename.par2

I've got PAR2 here   
http://www.tlviewer.org/centos/5/i386/repodata/repoview/par2-0-0.4-5.9.html

Now extract
   $unrar x filename..part01.rar

UNRAR is in rpmforge

-- 
Mark


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] php config security concern for c5

2009-11-13 Thread Joe Pruett
a recent post on bugtraq hilighted an issue with how upstream has 
configured apache to invoke php, namely using addhandler, which has the 
behavior of matching the extension anywhere in the file.  this means 
that foo.php.jpg will be run as php.  where this becomes an issue is web 
apps that allow uploads into the webspace for images, pdfs, etc.  if the 
app assumes that anything.jpg is safe, this addhandler feature will 
surprise it.

a fix is to replace two lines in /etc/httpd/conf.d/php.conf:

AddHandler php5-script .php
AddType text/html .php

with:


SetHandler php5-script
ForceType text/html



i have reported this upstream.  hopefully they will see it as a problem 
and address it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos