Re: [CentOS] Shell Script Pointers?

2009-05-13 Thread James Bensley
> if you're already going to the effort of downloading the entire > blacklist every night, why not dump the old database, and just insert > the newly downloaded one? Because we also add our own entries to the current blacklist so we are just adding any new entries from the nightly updates of our b

Re: [CentOS] Remote Desktop on CentOS 5.3

2009-05-13 Thread Bart Schaefer
On Wed, May 13, 2009 at 2:32 PM, Alfred von Campe wrote: > The configuration dialog box > says that "Users can view your desktop using this command: vncviewer > HOSTNAME.domain.com:0".  However, when I try to connect to it from > another host, I always get a "Connection reset by peer" error > mess

Re: [CentOS] Shell Script Pointers?

2009-05-13 Thread Spiro Harvey
> to run nightly, it will download the latest blacklist tarball, un tar > it and then add any new entries to the existing black list. The if you're already going to the effort of downloading the entire blacklist every night, why not dump the old database, and just insert the newly downloaded one?

Re: [CentOS] Remote Desktop on CentOS 5.3

2009-05-13 Thread Paul Berger
You can try the quick how-to I posted here: http://lists.centos.org/pipermail/centos/2007-October/045424.html I've had some issues with the display showing corrupted data depending on the X server being used. SVGA always seems to work, the latest Intel one seems fine also. Regards, Paul Berger

Re: [CentOS] File compare word by word

2009-05-13 Thread Filipe Brandenburger
Hi, On Wed, May 13, 2009 at 18:02, MHR wrote: > Is there a utility that compares files word by word, instead of whole > lines or single bytes? It is not exactly what you are looking for, but have you tried "vimdiff"? If lines differ, it will highlight the words that are different in them. It is

Re: [CentOS] 5.3 and XFS

2009-05-13 Thread James Pearson
Geoff Galitz wrote: > > FWIW, at FOSDEM 2009 Ted T'so said that he anticipated official XFS support > from Redhat in the near future as they recently hired some experienced XFS > engineers. > > It was not an official announcement of any kind, he was just speculating > during a presentation on ex

[CentOS] File compare word by word

2009-05-13 Thread MHR
Is there a utility that compares files word by word, instead of whole lines or single bytes? I found that I can simulate this by replacing all the spaces in a file with linefeeds, then 'diff -B' the results, but that's kind of awkward and hard to read when differences that matter come up. (For th

[CentOS] Remote Desktop on CentOS 5.3

2009-05-13 Thread Alfred von Campe
Does anyone have remote desktop connectivity working in CentOS 5.3? I'm using the Gnome desktop and have configured the Remote Deskop Preferences to "Allow other users to view your desktop" and "Allow other users to control your desktop". The configuration dialog box says that "Users can

Re: [CentOS] Network Install Procedure Question

2009-05-13 Thread Tim Shubitz
On May 13, 2009, at 3:48 PM, Kaplan, Andrew H. wrote: > Hi there -- > > Yes, I read that section. What I am asking is the following: When > entering the > information into the fields, the URL for one of the mirror sites > would be on > the first line. When I went to several of the mirror sites

Re: [CentOS] Network Install Procedure Question

2009-05-13 Thread Kaplan, Andrew H.
Hi there -- Yes, I read that section. What I am asking is the following: When entering the information into the fields, the URL for one of the mirror sites would be on the first line. When I went to several of the mirror sites, the iso images were there, but there were no directories listed for

Re: [CentOS] Network Install Procedure Question

2009-05-13 Thread Tim Shubitz
On May 13, 2009, at 3:24 PM, Kaplan, Andrew H. wrote: > Hi there -- > > I wanted to do a netinstall of the 5.3 release, and the source that > I had in > mind was either an ftp or http site. > When going through this procedure, am I going to download the .iso > images from > one of the mirror s

Re: [CentOS] Network Install Procedure Question

2009-05-13 Thread JohnS
On Wed, 2009-05-13 at 16:24 -0400, Kaplan, Andrew H. wrote: > Hi there -- > > I wanted to do a netinstall of the 5.3 release, and the source that I > had in mind was either an ftp or http site. > When going through this procedure, am I going to download the .iso > images from one of the mirror s

[CentOS] Network Install Procedure Question

2009-05-13 Thread Kaplan, Andrew H.
Hi there -- I wanted to do a netinstall of the 5.3 release, and the source that I had in mind was either an ftp or http site. When going through this procedure, am I going to download the .iso images from one of the mirror sites or is/are there a directory(ies) at another site(s) that I should s

Re: [CentOS] Shell Script Pointers?

2009-05-13 Thread Scott Silva
on 5-13-2009 4:21 AM James Bensley spake the following: > Hey Listee's > > I am trying to write a shell script to sort and compare my blacklist > for squidGuard with the nightly updates that come down in a tar ball. > It should be rather simple but I'm not to grate at this. The script is > to run

Re: [CentOS] CentOS 5.3 installation on HP DL380 R05 server

2009-05-13 Thread Scott Silva
on 5-12-2009 10:02 PM Nguyen Hai Chau spake the following: > Thanks to Joseph and Nate for helpful answers. > > A stupid question: I do not receive your mails although already > subsribed to this list. I read your answers on mail archive. I set up my > account to receive email from list but it se

Re: [CentOS] Calendar server

2009-05-13 Thread Scott Silva
on 5-13-2009 6:35 AM Max Hetrick spake the following: > Scott Silva wrote: > >> As for IMAP access, Horde is fine. It will also work with other backends like >> Kolab if you so choose. I also didn't want to use Zimbra because I run my own >> spam and virus scanning, and I didn't want to "downgrade

Re: [CentOS] rpmbuild date shift

2009-05-13 Thread Karanbir Singh
David Hrbáč wrote: > Hi, > I'd like to ask if anyone's experiencing date shift with rpmbuild/mock > on C5. I see +1 day date shift within changelog. Checked with > mock-0.9.14-3.el5.hrb and mock-0.6.13-1.el5_2.3. I just randomly picked up a few pkgs that have come through the buildsystem on cento

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread John R Pierce
Filipe Brandenburger wrote: > Did you just add yourself to that group? The processes you run will > not know you are a member of that group until you logout and login > again (open new SSH session, etc.). > > When you issue the "id" command (with no parameters), does it include > the "postgres" gro

Re: [CentOS] rpmbuild date shift

2009-05-13 Thread Ralph Angenendt
David Hrbáč wrote: > Ralph Angenendt napsal(a): > > Yes, I'm seeing that too: > > > > Even if that is changed to UTC, it still is May 13th (and it doesn't explain > > why subsequent changelog entries are one day off, too. > > > > Ralph > > Thanks Ralph. Yes, it has nothing to do with time zone.

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread Filipe Brandenburger
On Wed, May 13, 2009 at 11:18, John R Pierce wrote: > Filipe Brandenburger wrote: >>> [pie...@ test]$ grep pierce /etc/group >>> postgres:x:26:pierce >>> pierce:x:503: >> >> It would work if user "pierce" belonged to group "postgres". > > Um, I do, I showed that up there. > > I was both owner

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread John R Pierce
Filipe Brandenburger wrote: > Hi, > > On Wed, May 13, 2009 at 11:01, John R Pierce wrote: > >> nope. >> >> [pie...@ test]$ grep pierce /etc/group >> postgres:x:26:pierce >> pierce:x:503: >> [pie...@ test]$ touch x >> [pie...@ test]$ ls -la >> total 8 >> drwxrwxr-x 2 pierce pierce

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread Blackburn, Marvin
When we migrated from HPUX to Redhat we noticed this. I opened a case and we determined that you could not do this with the standard chgrp or chown commands if you are not root. The reason I was given is to keep people from getting around the disk quota stuff. A listing in one of the redhat foru

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread Filipe Brandenburger
Hi, On Wed, May 13, 2009 at 11:01, John R Pierce wrote: > nope. > > [pie...@ test]$ grep pierce /etc/group > postgres:x:26:pierce > pierce:x:503: > [pie...@ test]$ touch x > [pie...@  test]$ ls -la > total 8 > drwxrwxr-x  2 pierce pierce 4096 May 13 07:58 . > drwxr-xr-x 37 pierce root

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread Les Mikesell
mcclnx mcc wrote: > I don't think that is true: (my login ID are member of DBA and OINSTALL > group) > > $ ls -al > total 13936 > drwxrwxrwt 8 root root4096 May 13 04:02 . > drwxr-xr-x 32 root root4096 Feb 11 15:36 .. > -rwxrwxr-- 1 oracle dba9 May 11 20:50 a

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread John R Pierce
nate wrote: > Scott Silva wrote: > > >> But if you only have read access to the original file, can you overwrite it? >> > > If you have write access to the directory yes you should be able > to, if you only have read access to the directory I would expect > not. > nope. [pie...@ te

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread John R Pierce
mcclnx mcc wrote: > we plan to count how many files belong to that group. For example HR or > Finance. > not sure why you need to change the file's group to do this. for g in hr finance; do echo $(find . -type f -group $g |wc -l) files in group $g done _

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread mcclnx mcc
I don't think that is true: (my login ID are member of DBA and OINSTALL group) $ ls -al total 13936 drwxrwxrwt 8 root root4096 May 13 04:02 . drwxr-xr-x 32 root root4096 Feb 11 15:36 .. -rwxrwxr-- 1 oracle dba9 May 11 20:50 aabb $ chgrp oinstall aabb chgrp:

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread mcclnx mcc
I don't think that is true: (my login ID are member of DBA and OINSTALL group) $ ls -al total 13936 drwxrwxrwt 8 root root4096 May 13 04:02 . drwxr-xr-x 32 root root4096 Feb 11 15:36 .. -rwxrwxr-- 1 oracle dba9 May 11 20:50 aabb $ chgrp oinstall aabb chgrp:

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread mcclnx mcc
we plan to count how many files belong to that group. For example HR or Finance. --- 09/5/12 (二),Filipe Brandenburger 寫道: > 寄件者: Filipe Brandenburger > 主旨: Re: [CentOS] can non-owner change file group setup? > 收件者: "CentOS mailing list" > 日期: 2009年5月12日,二,下午3:13 > 2009/5/12 mcclnx mcc : >

Re: [CentOS] [Fwd: Re: How to generate a .template and .jigdo from an iso image?]

2009-05-13 Thread Marcelo M. Garcia
Phil Schaffner wrote: > Marcelo M. Garcia wrote: >> Hi Ralph > ... >> I don't know if there is a better way to test, but what I did was to >> create a centos.conf in /etc/httpd/conf.d[2]. Then in the machine called >> prost, issued the command: >> [r...@prost ~]# jigdo-lite http://newt/centos/Cen

Re: [CentOS] 5.3 and XFS

2009-05-13 Thread Geoff Galitz
> > xfs kmod's for centos-5 have so far been done within the centos loop, > but this is interesting - looks like 5.4 might have a tech-preview for > xfs included in. FWIW, at FOSDEM 2009 Ted T'so said that he anticipated official XFS support from Redhat in the near future as they recently hire

Re: [CentOS] [Fwd: Re: How to generate a .template and .jigdo from an iso image?]

2009-05-13 Thread Phil Schaffner
Marcelo M. Garcia wrote: > Hi Ralph ... > > I don't know if there is a better way to test, but what I did was to > create a centos.conf in /etc/httpd/conf.d[2]. Then in the machine called > prost, issued the command: > [r...@prost ~]# jigdo-lite http://newt/centos/CentOS-5.3-i386-bin-DVD.jigdo

[CentOS] [Fwd: Re: How to generate a .template and .jigdo from an iso image?]

2009-05-13 Thread Marcelo M. Garcia
Hi Ralph I received this e-mail from Fedora Infrastructure list. My problem at that moment was a proper syntax for the jigdo-file command. Using the their script as reference, I made a simpler one to test the command[1]. And it's working: newt (Linux) $pwd; ls -l *.jigdo *.template /users/ne

Re: [CentOS] Calendar server

2009-05-13 Thread Max Hetrick
Scott Silva wrote: > As for IMAP access, Horde is fine. It will also work with other backends like > Kolab if you so choose. I also didn't want to use Zimbra because I run my own > spam and virus scanning, and I didn't want to "downgrade" to what Zimbra > thinks works. And Horde has been around fo

Re: [CentOS] rpmbuild date shift

2009-05-13 Thread David Hrbáč
Ralph Angenendt napsal(a): > Yes, I'm seeing that too: > > Even if that is changed to UTC, it still is May 13th (and it doesn't explain > why subsequent changelog entries are one day off, too. > > Ralph Thanks Ralph. Yes, it has nothing to do with time zone. I'm not sure if I've seen it before l

[CentOS] Shell Script Pointers?

2009-05-13 Thread James Bensley
Hey Listee's I am trying to write a shell script to sort and compare my blacklist for squidGuard with the nightly updates that come down in a tar ball. It should be rather simple but I'm not to grate at this. The script is to run nightly, it will download the latest blacklist tarball, un tar it an

Re: [CentOS] rpmbuild date shift

2009-05-13 Thread Ralph Angenendt
David Hrbáč wrote: > Hi, > I'd like to ask if anyone's experiencing date shift with rpmbuild/mock > on C5. I see +1 day date shift within changelog. Checked with > mock-0.9.14-3.el5.hrb and mock-0.6.13-1.el5_2.3. Yes, I'm seeing that too: [angen...@shutdown rpms]$rpm -qp --changelog drbd82-8.2.7

Re: [CentOS] can non-owner change file group setup?

2009-05-13 Thread William L. Maltby
On Tue, 2009-05-12 at 17:50 -0500, Robert Nichols wrote: > nate wrote: > > Scott Silva wrote: > > > >> But if you only have read access to the original file, can you overwrite > >> it? > > > > If you have write access to the directory yes you should be able > > to, if you only have read access

Re: [CentOS] SOLVED: LVM, SATA controllers and BIOS devices

2009-05-13 Thread William L. Maltby
On Tue, 2009-05-12 at 16:19 -0500, Chris Boyd wrote: > On May 12, 2009, at 12:32 PM, William L. Maltby wrote: > > > IMO, yes (maybe). When the Initial install is done, I think there is > > some stuff that is needed in the initrd to find the disk so root can > > be > > mounted. I'm not sure whic

[CentOS] rpmbuild date shift

2009-05-13 Thread David Hrbáč
Hi, I'd like to ask if anyone's experiencing date shift with rpmbuild/mock on C5. I see +1 day date shift within changelog. Checked with mock-0.9.14-3.el5.hrb and mock-0.6.13-1.el5_2.3. Regards, David Hrbáč Source rpm: [mockbu...@builder2 ~]$ rpm -qp --changelog repoview-0.6.4-1.el4.hrb.src.rpm |