[CentOS] How to restrict reboot/poweroff from non-admins?

2012-03-28 Thread Timo Neuvonen
I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from

Re: [CentOS] How to restrict reboot/poweroff from non-admins?

2012-03-28 Thread Timo Neuvonen
Only console users (local users) are allowed to do that. It's configured using pam (I use Centos5.8 so forgive me if this is not the same for CentOS6). I tried to change settings in /etc/pam.d/ and that indeed works: /etc/pam.d/poweroff /etc/pam.d/reboot /etc/pam.d/halt I added as a

Re: [CentOS] Centos 5.6 3ware raid 5

2012-02-08 Thread Timo Neuvonen
Hi, I've seen comments about the poor performance of these cards with raid 5 configs. I have an old card with 3 x 500G IDE drives connected in raid 5 and I'm getting around 10mb/s write performance. :-( I'm seeing high iowait figures at times and associated very high cpu load average

[CentOS] vsftpd log issues

2011-12-31 Thread Timo Neuvonen
I have an up-to-date CentOS 6 with reasonable amount of ftp activity (a dozen of network cameras uploading images every second 24x7). The first issue was that the whole /var filesystem was about to get full, because of huge ftp daemon log. vsftpd.conf says: # You may override where the log

Re: [CentOS] 6.1 Update request

2011-09-18 Thread Timo Neuvonen
Just ordered a Lenovo TS130. I think there are some issues with the Intel graphics with 6.0 and I saw where they are resolved in 6.1. Hopefully 6.1 can be released soon. If not, I can install Scientific Linux temporarily. Fingers crossed!! Or, just grab the intel xorg driver rpm from SL,

Re: [CentOS] CentOS 6 Installation on Thinkpad X220

2011-09-10 Thread Timo Neuvonen
Now it boots and installs. Since CentOS has an older kernel than RHEL 6.1 I am not able to get screen resolution etc to work so I will run RHEL on this one as Keyboard keys, Web cam, Sound, Ericsson WLAN, all just works :) If you have access to RHEL binaries, that's fine. I hadn't, so I

Re: [CentOS] resize2fs

2011-08-29 Thread Timo Neuvonen
I am trying to resize a centos (5.2) VM drive. I use VMware and I have increased the size of the drive by 40G. I am running resize2fs on /dev/sdb1 (which is my root partition) but when I do I get this error: [root@centos ~]# resize2fs /dev/sdb1 120G resize2fs 1.39 (29-May-2006) The

Re: [CentOS] CentOS 6.0

2011-08-28 Thread Timo Neuvonen
Can anyone pls tell me if a ThinkServer TS130 with a E3-1225 Xeon processor is compatible with CentOS 6.0? I would like to upgrade from 5.6 but my hardware will not allow me to do so. Intel Quad-core 3.10 GHz L2 Cache 1 MB L3 Cache 6 MB 64-bit Processing * Turbo Boost

Re: [CentOS] Intel HD graphics CentOS 6: Error inserting i915

2011-08-01 Thread Timo Neuvonen
You need at least a 2.6.38 kernel. From: http://intellinuxgraphics.org/2011Q1.html And in case of CentOS it means Redhat needs to backport the driver to el6 2.6.32 kernel. I admit that my secret dream is that RH already would have done that for RHEL 6.1 kernels, otherwise it

Re: [CentOS] Intel HD graphics CentOS 6: Error inserting i915

2011-07-31 Thread Timo Neuvonen
Pasi Kärkkäinen pa...@iki.fi kirjoitti viestissä news:20110731184737.gp32...@reaktio.net... On Sun, Jul 31, 2011 at 12:29:59PM +0200, Marc Deop wrote: On Saturday 30 July 2011 16:40:45 Timo Neuvonen wrote: (==) Using config file: /etc/X11/xorg.conf FATAL: Error inserting i915 (/lib

[CentOS] Intel HD graphics CentOS 6: Error inserting i915

2011-07-30 Thread Timo Neuvonen
I installed CentOS 6 to Acer 7750 laptop, which has Intel Sandybridge CPU ( i5-2410M) with integrated Intel HD Graphics 3000. By default X won't use intel driver for graphics, but vesa instead, which limits the resolution to 1024x768. I tried to force the use of intel driver by writing a

Re: [CentOS] Upgrade

2009-04-01 Thread Timo Neuvonen
You didn't wait for the official release announcement ;) Why should he? Is he only allowed to run yum update after each official announcement? I still see no release announcement yet, but packages are already available. In turn, I can see the release announcement, but no packages :-( A

[CentOS] exim rpm with DKIM support for CentOS?

2009-01-18 Thread Timo Neuvonen
I haven't learned a lot about DKIM yet, but I guess I'll need to implement it in the near future, at first for signing outgoing mail. I'm using exim as an MTA. I guess the standard exim 4.63 binary rpm from CentOS repos propably does not have DKIM support yet? Or does it, maybe? Provided the

[CentOS] xorg-x11-drv-nouveau for CentOS?

2008-12-28 Thread Timo Neuvonen
Is there a way to use Nouveau (open source Nvidia) driver in CentOS 5 ? nv seems to support only the lowest resolutions thru the dvi output (NV44 chip), and I don't like the idea of installing propiertary Nvidia drivers. This way I came to Nouveau. I had a look at some Fedora rpms, but they

Re: [CentOS] xorg-x11-drv-nouveau for CentOS?

2008-12-28 Thread Timo Neuvonen
Is there a way to use Nouveau (open source Nvidia) driver in CentOS 5 ? nv seems to support only the lowest resolutions thru the dvi output (NV44 chip), and I don't like the idea of installing propiertary Nvidia drivers. This way I came to Nouveau. I had a look at some Fedora rpms, but