Operating System - HP-UX
1830623 Members
2348 Online
110015 Solutions
New Discussion

Bastille clobbered my root cron file

 
dev44
Regular Advisor

Bastille clobbered my root cron file

When it runs through securing the system are backups of files that it replaces stored anywhere?
whatever
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Bastille clobbered my root cron file

Shalom,

I don't recall Bastille taking a backup.

If it does, the log Bastille takes will tell you where.

You can also pull the single file out of your most recent Ignite backup.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Bastille clobbered my root cron file

Hi:

See: /var/opt/sec_mgmt/bastille/revert

...and its contents.

Regards!

...JRF...
dev44
Regular Advisor

Re: Bastille clobbered my root cron file

Nothing in that directory. We will restore from the last backup but I assumed that Bastille would make a backup of the files it clobbers...just in case.

Thanks,
whatever
James R. Ferguson
Acclaimed Contributor

Re: Bastille clobbered my root cron file

Hi (again):

> I assumed that Bastille would make a backup of the files it clobbers...just in case.

It does. Do:

# ls -Rl /var/opt/sec_mgmt/bastille/revert/backup

And, I don't see any reason why Bastille would have clobbered a crontab.

Regards!

...JRF...
dev44
Regular Advisor

Re: Bastille clobbered my root cron file

Not there, and the log file is empty.

I answered yes to the question ""Would you like to restrict the use of cron to administrative accounts" figuring root would be an administrative account and therefore would be left as is. It blew it away and re-created it with a couple of lines that bastille added.
whatever