[CentOS] fcron scheduler

2012-01-06 Thread Kaushal Shriyan
Hi, Is fcron scheduler available in CentOS 5.6 Server ? I did yum search fcron and it does not return anything. As per http://fcron.free.fr/description.php Fcron is a scheduler. It *aims at replacing Vixie Cron*, so it implements most of its functionalities. But contrary to Vixie Cron, fcron *do

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/6/2012 6:16 PM, RILINDO FOSTER wrote: > On Jan 6, 2012, at 10:35 AM, Bennett Haselton wrote: > >> I tried that and it worked -- the httpd processes are now listed with >> "httpd_t" as their context, the /var/log/audit/audit.log file is listed >> with auditd_log_t as its type instead if file_t,

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread RILINDO FOSTER
On Jan 6, 2012, at 10:35 AM, Bennett Haselton wrote: > > I tried that and it worked -- the httpd processes are now listed with > "httpd_t" as their context, the /var/log/audit/audit.log file is listed > with auditd_log_t as its type instead if file_t, etc. > > I'm pretty sure this machine was

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-06 Thread Johnny Hughes
On 01/06/2012 07:35 PM, Johnny Hughes wrote: > On 01/06/2012 04:28 PM, Digimer wrote: >> On 01/06/2012 05:17 PM, david wrote: >>> Folks >>> >>> I have a new laptop running Centos 6.2 64-bit. I'd like to put a >>> virtual machine running Windows 7 (licensed), with full audio/video >>> functions,

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-06 Thread Johnny Hughes
On 01/06/2012 04:28 PM, Digimer wrote: > On 01/06/2012 05:17 PM, david wrote: >> Folks >> >> I have a new laptop running Centos 6.2 64-bit. I'd like to put a >> virtual machine running Windows 7 (licensed), with full audio/video >> functions, and good response. Which virtual system would you >

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-06 Thread Digimer
On 01/06/2012 05:17 PM, david wrote: > Folks > > I have a new laptop running Centos 6.2 64-bit. I'd like to put a > virtual machine running Windows 7 (licensed), with full audio/video > functions, and good response. Which virtual system would you > recommend? I can think of KVM, or VirtualBo

[CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-06 Thread david
Folks I have a new laptop running Centos 6.2 64-bit. I'd like to put a virtual machine running Windows 7 (licensed), with full audio/video functions, and good response. Which virtual system would you recommend? I can think of KVM, or VirtualBox, or ...? The "good response" requirement prett

[CentOS] USB install annoyances

2012-01-06 Thread m . roth
I tried to boot from my 6.0 USB key, no joy. Updated it to 6.2. Still no joy: it gets started, I do the disk layout, it formats the drives, and then fails, saying that it can't find "image# 1". Over in the log, I see a lot of it not finding any drive at all, yet all the h/d drives and sda2, which i

Re: [CentOS] an actual hacked machine, in a preserved state

2012-01-06 Thread Lamar Owen
On Jan 5, 2012, at 11:13 PM, email builder wrote: I don't mean to thread-hijack, but I'm curious, if apache runs as its own non-root user and /etc/shadow is root-owned and 0400, then how could any exploit of software not running as root ever have access to that file?? To listen on the default

Re: [CentOS] sa-update error with perl

2012-01-06 Thread email builder
>>> But before I try that, I'm wondering, shouldn't it be easy >>> from the error message to simply understand what package >>> is creating the problem? >>> >>> It turns out it's not sa-update specifically doing this, but the >>> restart of spamassassin itself: >>> >>> /etc/init.d/spamassa

Re: [CentOS] an actual hacked machine, in a preserved state

2012-01-06 Thread Les Mikesell
On Fri, Jan 6, 2012 at 1:52 PM, email builder wrote: >> >> Apache starts as root so it can open port 80.  Certain bugs might >> happen before it switched to a non-privileged user.  But, a more >> likely scenario would be to get the ability to run some arbitrary >> command through an apache, app, o

Re: [CentOS] an actual hacked machine, in a preserved state

2012-01-06 Thread email builder
>>> 1.) Attacker uses apache remote exploit (or other means) to obtain >>>  your /etc/shadow file (not a remote shell, just GET the file >>> without that fact being logged); >> >> I don't mean to thread-hijack, but I'm curious, if apache runs as >> its >> own non-root user and /etc/shadow i

Re: [CentOS] Yum Group Desktop shows rhn-setup-info

2012-01-06 Thread Johnny Hughes
On 01/06/2012 09:40 AM, david wrote: > Folks > > In Centos 6 (updated as of last night), the command > yum groupinfo Desktop > shows the package "rhn-setup-info" as one of its default packages, > yet it appears that the package does not exist. > > Is this an inconsistency in the YUM data? or wha

Re: [CentOS] sa-update error with perl

2012-01-06 Thread Johnny Hughes
On 01/06/2012 09:36 AM, Johnny Hughes wrote: > On 01/05/2012 10:17 PM, email builder wrote: > Hmm, OK, prioritze CentOS repo over RepoForge then will yum update > figure out the rest? I don't see any priority settings in my yum >>> conf > files... # yum list | grep priori

Re: [CentOS] monitoring space in directories

2012-01-06 Thread Fajar Priyanto
On Fri, Jan 6, 2012 at 11:49 PM, Alan McKay wrote: > BTW, in a pinch since I'm already using Munin what I'm going to do is this : > > - write a cronjob that fires maybe 2 to 4 times a day and does a "du -s" of > directories I'm interested in , and stores the sizes in a file > - write a simple muni

Re: [CentOS] monitoring space in directories

2012-01-06 Thread Alan McKay
BTW, in a pinch since I'm already using Munin what I'm going to do is this : - write a cronjob that fires maybe 2 to 4 times a day and does a "du -s" of directories I'm interested in , and stores the sizes in a file - write a simple munin plugin that reads the file (and munin will do the graphing

Re: [CentOS] monitoring space in directories

2012-01-06 Thread Giles Coochey
On Fri, January 6, 2012 16:42, Alan McKay wrote: >> >> Might be overkill but cacti or Nagios+PNP would do this... >> >> > PNP? What's that ? I already have Icinga installed. > > http://docs.pnp4nagios.org/pnp-0.4/start ___ CentOS mailing list CentOS@c

[CentOS] Yum Group Desktop shows rhn-setup-info

2012-01-06 Thread david
Folks In Centos 6 (updated as of last night), the command yum groupinfo Desktop shows the package "rhn-setup-info" as one of its default packages, yet it appears that the package does not exist. Is this an inconsistency in the YUM data? or what? Thanks David Kurn ___

Re: [CentOS] monitoring space in directories

2012-01-06 Thread Alan McKay
> > Might be overkill but cacti or Nagios+PNP would do this... > > PNP? What's that ? I already have Icinga installed. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mai

Re: [CentOS] sa-update error with perl

2012-01-06 Thread Johnny Hughes
On 01/05/2012 10:17 PM, email builder wrote: Hmm, OK, prioritze CentOS repo over RepoForge then will yum update figure out the rest? I don't see any priority settings in my yum >> conf files... >>> # yum list | grep priorities >>> yum-priorities.noarch

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/6/2012 7:13 AM, Daniel J Walsh wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/06/2012 09:57 AM, Bennett Haselton wrote: >> On 1/6/2012 5:55 AM, RILINDO FOSTER wrote: >>> On Jan 6, 2012, at 7:40 AM, Philippe Naudin wrote: >>> Le ven 06 jan 2012 04:21:14 CET, Bennett Has

Re: [CentOS] monitoring space in directories

2012-01-06 Thread Fajar Priyanto
On Fri, Jan 6, 2012 at 10:25 PM, Alan McKay wrote: > Hey folks, > > Is there a Linux tool that will monitor a disk and tell me which > directories are growing over time? > I could cobble something together myself of course, but if there is already > a good off-the-shelf solution, why bother? > > E

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/06/2012 09:57 AM, Bennett Haselton wrote: > On 1/6/2012 5:55 AM, RILINDO FOSTER wrote: >> On Jan 6, 2012, at 7:40 AM, Philippe Naudin wrote: >> >>> Le ven 06 jan 2012 04:21:14 CET, Bennett Haselton a écrit: >>> On 1/6/2012 4:11 AM, Philipp

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/6/2012 5:58 AM, RILINDO FOSTER wrote: > On Jan 5, 2012, at 7:37 PM, Bennett Haselton wrote: > >> On 1/5/2012 3:14 PM, RILINDO FOSTER wrote: >>> On Jan 5, 2012, at 4:46 PM, Daniel J Walsh wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/05/2012 04:36 PM, Bennet

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/6/2012 5:55 AM, RILINDO FOSTER wrote: > On Jan 6, 2012, at 7:40 AM, Philippe Naudin wrote: > >> Le ven 06 jan 2012 04:21:14 CET, Bennett Haselton a écrit: >> >>> On 1/6/2012 4:11 AM, Philippe Naudin wrote: Le ven 06 jan 2012 02:41:02 CET, Bennett Haselton a écrit: > On 1/6/2012 2

Re: [CentOS] monitoring space in directories

2012-01-06 Thread John Doe
From: Alan McKay > Is there a Linux tool that will monitor a disk and tell me which > directories are growing over time? > I could cobble something together myself of course, but if there is already > a good off-the-shelf solution, why bother? > Even if it only checks once per day that would be f

Re: [CentOS] an actual hacked machine, in a preserved state

2012-01-06 Thread Ross Walker
On Jan 5, 2012, at 6:34 PM, Johnny Hughes wrote: > On 01/05/2012 02:51 PM, Bennett Haselton wrote: >> On 1/5/2012 6:53 AM, Johnny Hughes wrote: >>> On 01/04/2012 07:47 PM, Bennett Haselton wrote: On 1/4/2012 1:59 PM, Lamar Owen wrote: > [Distilling to the core matter; everything else is

[CentOS] monitoring space in directories

2012-01-06 Thread Alan McKay
Hey folks, Is there a Linux tool that will monitor a disk and tell me which directories are growing over time? I could cobble something together myself of course, but if there is already a good off-the-shelf solution, why bother? Even if it only checks once per day that would be fine. Graphs wou

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread RILINDO FOSTER
On Jan 5, 2012, at 7:37 PM, Bennett Haselton wrote: > On 1/5/2012 3:14 PM, RILINDO FOSTER wrote: >> On Jan 5, 2012, at 4:46 PM, Daniel J Walsh wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> On 01/05/2012 04:36 PM, Bennett Haselton wrote: http://wiki.centos.org/HowT

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread RILINDO FOSTER
On Jan 6, 2012, at 7:40 AM, Philippe Naudin wrote: > Le ven 06 jan 2012 04:21:14 CET, Bennett Haselton a écrit: > >> On 1/6/2012 4:11 AM, Philippe Naudin wrote: >>> Le ven 06 jan 2012 02:41:02 CET, Bennett Haselton a écrit: >>> On 1/6/2012 2:24 AM, Philippe Naudin wrote: > Apache runni

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Philippe Naudin
Le ven 06 jan 2012 04:21:14 CET, Bennett Haselton a écrit: > On 1/6/2012 4:11 AM, Philippe Naudin wrote: > > Le ven 06 jan 2012 02:41:02 CET, Bennett Haselton a écrit: > > > >> On 1/6/2012 2:24 AM, Philippe Naudin wrote: > >>> Apache running as "init_t" is a call for troubles. > >> Is it? OK, any

Re: [CentOS] swap labeling annoyance

2012-01-06 Thread mark
John Doe wrote: > From: "m.r...@5-cent.us" > >> I just upgraded a blade server via rsync from another server. Rebuilt the >> initrd. It boots fine... except that it won't turn on the swap partition. >> Several times, I've made sure swap was off, then mkswap -L SWAP-sda3 >> /dev/sda3, but when I d

Re: [CentOS] swap labeling annoyance

2012-01-06 Thread mark
Jorge Fábregas wrote: > On 01/05/2012 06:14 PM, m.r...@5-cent.us wrote: >> mkswap -L SWAP-sda3 /dev/sda3 > > I didn't know you could create a label within the mkswap command. I > always used "e2label" as in: > > e2label /dev/sda2 myswap > > Try it with e2label just in case. Also, are you able

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/6/2012 4:11 AM, Philippe Naudin wrote: > Le ven 06 jan 2012 02:41:02 CET, Bennett Haselton a écrit: > >> On 1/6/2012 2:24 AM, Philippe Naudin wrote: >>> Apache running as "init_t" is a call for troubles. >> Is it? OK, any idea what caused that and how to fix it? > No, sorry. Your httpd comes

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Philippe Naudin
Le ven 06 jan 2012 02:41:02 CET, Bennett Haselton a écrit: > On 1/6/2012 2:24 AM, Philippe Naudin wrote: > > Apache running as "init_t" is a call for troubles. > Is it? OK, any idea what caused that and how to fix it? No, sorry. Your httpd comes from CentOS ? Afaik, you should not have any proc

Re: [CentOS] yum warning...

2012-01-06 Thread John Doe
From: Tru Huynh > you can but then you need to resync yum and rpm databases: > [tru@centos6 ~]$ yum history sync > will "fix" your warnings Cool! Thx, JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] swap labeling annoyance

2012-01-06 Thread John Doe
From: "m.r...@5-cent.us" > I just upgraded a blade server via rsync from another server. Rebuilt the > initrd. It boots fine... except that it won't turn on the swap partition. > Several times, I've made sure swap was off, then mkswap -L SWAP-sda3 > /dev/sda3, but when I do swapon -L SWAP-sda3, i

Re: [CentOS] CentOS 6 and screenshot of website

2012-01-06 Thread John Doe
From: Ljubomir Ljubojevic > Maybe recompile Fedoras 'gnome-web-photo" package? > http://vertito.blogspot.com/2008/02/howto-thumbnail-website-from-linux.html Or maybe try: http://khtml2png.sourceforge.net/ JD ___ CentOS mailing list CentOS@centos.org h

Re: [CentOS] No eth0 on centos 6.2

2012-01-06 Thread James Hogarth
On 5 January 2012 22:57, Jeff wrote: > Thanks for the help and info! > Here's the relevant link from the upstream vendor's release notes: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.1_Release_Notes/ar01s01.html Naming convention for network interfaces Traditionally, netw

Re: [CentOS] A simplistic parental-control setup

2012-01-06 Thread wwp
Hello John, On Fri, 6 Jan 2012 02:33:37 -0800 (PST) John Doe wrote: > From: wwp > > > On Thu, 5 Jan 2012 08:00:29 -0800 (PST) John Doe wrote: > >> Try to google "firefox parental control" and click on the first > > result...  ^_^ > > This assertion is not reliable, unless you did it intent

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/6/2012 2:24 AM, Philippe Naudin wrote: > Le ven 06 jan 2012 02:00:27 CET, Bennett Haselton a écrit: > >> On 1/5/2012 1:36 PM, Bennett Haselton wrote: >> ... >> OK, notwithstanding the fact that the filesystem on the above machine >> needs to be re-labeled and I don't know why that's failing --

Re: [CentOS] A simplistic parental-control setup

2012-01-06 Thread John Doe
From: wwp > On Thu, 5 Jan 2012 08:00:29 -0800 (PST) John Doe wrote: >> Try to google "firefox parental control" and click on the first > result...  ^_^ > This assertion is not reliable, unless you did it intentionally? Results > brought by googles are not the same here and there.. Yes, it was

Re: [CentOS] yum warning...

2012-01-06 Thread Tru Huynh
On Thu, Jan 05, 2012 at 03:01:33PM +, Marko Vojinovic wrote: > On Thursday 05 January 2012 06:17:17 John Doe wrote: > > # yum update > > ... ... > > Running Transaction Test > > Transaction Test Succeeded > > Running Transaction > > Warning: RPMDB altered outside of yum. ... > > How come a simp

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Philippe Naudin
Le ven 06 jan 2012 02:00:27 CET, Bennett Haselton a écrit: > On 1/5/2012 1:36 PM, Bennett Haselton wrote: > ... > OK, notwithstanding the fact that the filesystem on the above machine > needs to be re-labeled and I don't know why that's failing -- > > I have another CentOS 5.7 machine where I've

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/5/2012 1:36 PM, Bennett Haselton wrote: > http://wiki.centos.org/HowTos/SELinux > says: > "Access is only allowed between similar types, so Apache running as > httpd_t can read /var/www/html/index.html of type httpd_sys_content_t." > > however the doc doesn't define what "similar types" means

Re: [CentOS] SELinux and access across 'similar types'

2012-01-06 Thread Bennett Haselton
On 1/5/2012 4:37 PM, Bennett Haselton wrote: > On 1/5/2012 3:14 PM, RILINDO FOSTER wrote: >> On Jan 5, 2012, at 4:46 PM, Daniel J Walsh wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> On 01/05/2012 04:36 PM, Bennett Haselton wrote: http://wiki.centos.org/HowTos/SELinux

Re: [CentOS] yum warning...

2012-01-06 Thread John Hodrien
On Thu, 5 Jan 2012, Ljubomir Ljubojevic wrote: > This can be avoided using "yum localinstall " from the > location where that package is, instead of "rpm -ivh ". AFAIK localinstall is the same as install now, so you can just use: yum install jh ___ C

Re: [CentOS] rsyslog server cannot get the logs

2012-01-06 Thread YunQiang Su
Debian Log server <-- Debian Web Server ^ | |_X_ CentOS Web Server My network is like this. On Fri, Jan 6, 2012 at 4:18 PM, Corey Henderson wrote: > On 1/6/2012 1:05 AM, YunQiang Su wrote: > > I have an rsyslog server which is running Debian Stable, > >

Re: [CentOS] rsyslog server cannot get the logs

2012-01-06 Thread Corey Henderson
On 1/6/2012 1:05 AM, YunQiang Su wrote: > I have an rsyslog server which is running Debian Stable, > and its version of rsyslog is 4.6.4-2. > > All of my Debian Stable server can send log to it now. > and run both > nc $IP $PORT<<< "HELLO" > and > echo "HELLO" | nc $IP $PORT > on client, I can get

[CentOS] rsyslog server cannot get the logs

2012-01-06 Thread YunQiang Su
I have an rsyslog server which is running Debian Stable, and its version of rsyslog is 4.6.4-2. All of my Debian Stable server can send log to it now. and run both nc $IP $PORT <<< "HELLO" and echo "HELLO" | nc $IP $PORT on client, I can get log on the server. While for my CentOS 5.7 server, nc $