Re: chkstat questions
- From: Rick DeBay <Rick_member@xxxxxxxxxxx>
- Date: 31 Mar 2006 08:46:28 -0800
In article <153739631.00015943.019.0001@xxxxxxxxxxxxxxx>, Rick DeBay says...
I'd like to run chkstat daily and have it email warnings in the first pass, and
then set everything in a second pass (unless it's possible to do it in one
pass). I'm seems like this would be a very common task. Does anyone have a
script that does this, or a sample that I could modify? I've done minimal
scripting up to this point, just glorified batch files.
/sbin/SuSEconfig will display a message when it changes a permission, and what
the incorrect permission was. So now I just need a sample script on how to run
and email results if the results contain warnings.
Does Suse already run chkstat daily? I know suseconfig runs chkstat (at what
points, I don't know). What other programs run chkstat?
Does chkstat need to be run as root? I didn't see that the suid bit was set.
SuSEconfig needs to run as root, so this would have to run as a root cron job.
Will chkstat include all the files listed under /etc/permissions.d? Or would a
script need to iterate through all the files?
SuSEconfig will iterate through all the permission files.
Thanks, Rick DeBay
Rick DeBay
--
NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth
.
- References:
- chkstat questions
- From: Rick DeBay
- chkstat questions
- Prev by Date: Re: Beta 9 is out
- Next by Date: Re: Need Software RAID Help
- Previous by thread: chkstat questions
- Next by thread: User Account Password gone Missing
- Index(es):