From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 18:56:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544141065670 for ; Mon, 7 Apr 2008 18:56:24 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout1.easydns.com [205.210.42.66]) by mx1.freebsd.org (Postfix) with ESMTP id 28E378FC23 for ; Mon, 7 Apr 2008 18:56:24 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from lilypad.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 01B124841F for ; Mon, 7 Apr 2008 14:54:32 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by lilypad.shadypond.com (Postfix) with ESMTPS id 005D6B81F for ; Mon, 7 Apr 2008 18:56:21 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Mon, 7 Apr 2008 18:56:05 +0000 References: <936205.95914.qm@web30302.mail.mud.yahoo.com> In-Reply-To: <936205.95914.qm@web30302.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804071856.06690.lists-fbsd@shadypond.com> Subject: Re: Problem In Saving "inted.conf" . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2008 18:56:24 -0000 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.