Re: chkstat questions



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

.