Date: Mon, 7 Apr 2008 18:56:05 +0000 From: Pollywog <lists-fbsd@shadypond.com> To: freebsd-questions@freebsd.org Subject: Re: Problem In Saving "inted.conf" . Message-ID: <200804071856.06690.lists-fbsd@shadypond.com> In-Reply-To: <936205.95914.qm@web30302.mail.mud.yahoo.com> References: <936205.95914.qm@web30302.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 07 April 2008 18:01:18 behnam zahabi wrote: > Hello > I have this problem: > When i make change in ''inted.conf'' (delete ''#'' ) i can't save this file > (when i want to save, it say unable to create file). > > I think it happens because this file is read only, how can i disable > this? If you are using vi or vim to edit the file, I believe putting a ! after the command to save the file (do this as the root user or use sudo) will save it. So instead of :wq in vi, use :wq! Another way of saving the file is to do (as root) chmod u+w /etc/inetd.conf before you edit the file or chmod 600 /etc/inetd.conf There are many UNIX resources online as well as books that can be useful to you in learning UNIX commands.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804071856.06690.lists-fbsd>