Re: [CentOS] bash variable expansion moment

2009-11-23 Thread Philip Gwyn
On 16-Nov-2009 ken wrote: > On 11/15/2009 06:32 PM Stephen Harris wrote: >> On Sun, Nov 15, 2009 at 06:21:40PM -0500, ken wrote: >> >> >> echo This is line "${BASH_LINENO[0]}" $@ >> >> > > That's all I needed. Thanks. You might also want to check out bash's built in `cal

Re: [CentOS] software raid :: kernel update procedure

2009-11-12 Thread Philip Gwyn
On 11-Nov-2009 Adrian Sevcenco wrote: > Hi! I have an software raid installation (md_dX type) and i am wondering > what is the procedure for kernel update... is the initrd auto-magicaly > rebuild? Yes. As part of kernel.rpm 's postinstall script. You can verify the initrd by looking at /boot/in

Re: [CentOS] Running SSH on a different port

2009-10-24 Thread Philip Gwyn
On 24-Oct-2009 Oliver Ransom wrote: > I don't think there are any ramifications/disadvantages of running the > SSH daemon on a non standard port. Running sshd on a non-standard port is highly useful ; I always have 2 seperate sshd instances. One on 22 and one on 222. This way, if I muck up a

Re: [CentOS] EDAC Kernel Panic 2.6.9-78 and above

2009-10-21 Thread Philip Gwyn
On 20-Oct-2009 Michael Schumacher wrote: >> I've got a production system running CentOS 4 that was rock solid >> until I upgraded from 2.6.9-55 to 2.6.9-78.0.13 (now running >> 2.6.9-89.0.11). The system now crashes intermittently after a few >> weeks. I finally caught the panic message : > >> ED

Re: [CentOS] allowing users to issue the "shutdown" command

2009-10-19 Thread Philip Gwyn
On 17-Oct-2009 Robert wrote: > > > Buz Davis wrote: >> I am running CentOS 5.3 and have just the two accounts "root" and >> "buz". I would like to be able to issue "shutdown" from the account >> "buz", and thus created >> /etc/shutdown.allow with the single entry "buz" (without any quotes).

[CentOS] SATA controler req

2009-09-23 Thread Philip Gwyn
Hello, I'm looking for a recomendation for a SATA controlers. In the range of 4-8 ports, either PCI or PCIe (for desktop use) and/or PCI-X, PCIe (for server use). I'd especially like it if the Linux driver was already in CentOS or easily added. Everytime I find something interesting, a google s