Operating System - HP-UX
1833065 Members
2863 Online
110049 Solutions
New Discussion

Someone modified /etc/rc to 440 and now system will not boot

 
mark_5
Occasional Contributor

Someone modified /etc/rc to 440 and now system will not boot

We have a FEP running HP-RT OS and the /etc/rc file was chmod'ed to 440. Now system will not boot and it seems the the console port will not respond. To make matters worse we have no Media, but have a tape backup. Any help would be appreciated.
5 REPLIES 5
Sachin Patel
Honored Contributor

Re: Someone modified /etc/rc to 440 and now system will not boot

Hi
Did you try to bring system up on single user mode?
type hpux -isl on ipl> prompt or even bo -isl will work too

Sachin
Is photography a hobby or another way to spend $
Emmanuel Eyer
Frequent Advisor

Re: Someone modified /etc/rc to 440 and now system will not boot

Oops! Bad luck, I'm afraid. As far as I remember some experiences, /etc/rc (or /sbin/rc) is required even for single user mode. Boot on a support media (CD or tape), mount the root disk, chmod the file. If you have no media available you are in a bad situation...
Bill McNAMARA_1
Honored Contributor

Re: Someone modified /etc/rc to 440 and now system will not boot

If the system doesn't boot with this method
ISL> hpux -lm -is
You'll not be able to repair unless you have an ignite tape or install cd (rescue option)
The ignite tape can be from another server.
Boot off it from BCH bo tape, no to ISL, then ignite launches. Interact with ugnite to get a shell. from the shell you can mount your / fs and rename the directory back.

Later,
Bill
It works for me (tm)
Ravi_8
Honored Contributor

Re: Someone modified /etc/rc to 440 and now system will not boot

hi,
feel pity for you,
without the installation cd or ignite tape u can't recover now. manage to get installation cd , boot from cd get the shell and change the rc files mode and reboot.
never give up
Vincent Fleming
Honored Contributor

Re: Someone modified /etc/rc to 440 and now system will not boot

In a real pinch, you might be able to install the root disk from your dead system in another (working) system, mount the partition that contains /, and fix the problem, put the disk back in the dead system, and off you go.

I'm not too sure how LVM would react to this, however. I've done this with older UNIX systems that do not have LVM.

Good luck.
No matter where you go, there you are.