On Sun, 21 Jan 2001, Patrick Lacchia wrote:

> Guess what? I stupidly added 3 lines to etc/rc.d/rc.sysinit. It looked safe,
> you just open the file with gnupad, add the lines, save. Safe until the next
> time you reboot and find out that you can't use RedHat 6.2 anymore. During
> the launch I now have a message saying, "INIT cannot execute
> etc/rc.d/sysinit". I tried several rescue solutions and so far the only one
> that gives me some result is to boot by typing linux emergency. That gives
> me the chance to log as root before INIT (and therefore rc.sysinit) is
> launched. From there I can access the file, edit it with VI but
> unfortunately not save it. The file is read only. I can copy the file on a

if you're logged in as root, have you tried saving the file with ":wq!"??
even when you're root, you normally aren't allowed to overwrite readonly
files unless you add the "!" to the ":wq".  give that a shot.

rday

-- 
Robert P. J. Day
Eno River Technologies, Durham NC
Unix, Linux and Open Source training


"This is Microsoft technical support.  How may I misinform you?"



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to