Operating System - HP-UX
1834705 Members
2249 Online
110069 Solutions
New Discussion

Newbie needs help editing the netconf file...

 
SOLVED
Go to solution
Jeff Thomas_1
Contributor

Newbie needs help editing the netconf file...

Hi.

I go into vi to edit my netconf file to add a gateway, and every time I try to save it it tells me it is a read only file. How do I correct this?

Thanks!!!
Thanks so much for helping a newbie!
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: Newbie needs help editing the netconf file...

Hi Jeff:

As root, edit the file. Then, instead of a simple "wq" [write/quit], do a "wq!" [write/quit/bang]. This will force the write, overriding the readonly permissions.

Regards!

...JRF...