Re: [CentOS] server is always getting hacked

2009-07-01 Thread Stuart Jansen
On Wed, 2009-07-01 at 01:20 -0700, Michael A. Peters wrote: > I still don't understand how using sudo instead of su makes it more secure. As implemented by Ubuntu and others, sudo does nothing to make things more secure. In fact, as you pointed out, it can be less secure. However, sudo has the ca

Re: [CentOS] hosting provider with CentOS shell?

2009-06-05 Thread Stuart Jansen
On Thu, 2009-06-04 at 22:41 -0700, Matt Harrington wrote: > I need a hosting provider just like Dreamhost.net's shared hosting > service, but with a CentOS shell instead of Debian. Any pointers? I have used both Linode and Slicehost for years. Both are good, but of the two I prefer Linode.

Re: [CentOS] Shell Script Pointers?

2009-05-19 Thread Stuart Jansen
On Tue, 2009-05-19 at 22:06 -0400, Eric Sisolak wrote: > Also you could try > > for FOLDER in `find /usr/local/squidGuard/db -maxdepth 1 -type d`; do This is a classic mistake. It has two problems: 1) The list of files created by the embedded find can exceed the maximum command length. 2) Directo

Re: [CentOS] mock %post(pam) failure

2009-04-13 Thread Stuart Jansen
On Mon, 2009-04-13 at 07:26 -0700, Akemi Yagi wrote: > On Mon, Apr 13, 2009 at 7:18 AM, Rex Dieter wrote: > > > interestingly, I can no longer reproduce this failure myself on a recently > > upgraded centos-5.3 box using mock-0.9.14 (from epel). > > So, we can use mock-0.9.14 from EPEL on CentO

Re: [CentOS] mock %post(pam) failure

2009-04-09 Thread Stuart Jansen
On Thu, 2009-04-09 at 16:54 -0700, Bill Campbell wrote: > On Thu, Apr 09, 2009, Stuart Jansen wrote: > >I recently upgraded an internal build server from C5.2 to C5.3 and now > >I'm experiencing problems initializing the mock buildroot. Specifically, > >I

[CentOS] mock %post(pam) failure

2009-04-09 Thread Stuart Jansen
I recently upgraded an internal build server from C5.2 to C5.3 and now I'm experiencing problems initializing the mock buildroot. Specifically, I'm getting the following error: -- /var/tmp/rpm-tmp.77062: line 6: cat: command not found /var/tmp/rpm-tmp.77062: line 7: rm: command not found /var/