From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 15:22:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6302616A4CF for ; Tue, 1 Jun 2004 15:22:14 -0700 (PDT) Received: from msr37.hinet.net (msr37.hinet.net [168.95.4.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE73943D5C for ; Tue, 1 Jun 2004 15:22:13 -0700 (PDT) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-8.dynamic.hinet.net [61.227.219.8]) by msr37.hinet.net (8.9.3/8.9.3) with SMTP id GAA27216 for ; Wed, 2 Jun 2004 06:21:47 +0800 (CST) Date: Wed, 2 Jun 2004 06:08:18 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040602060818.50fc26ae.y2kbug@ms25.hinet.net> In-Reply-To: <001201c447e0$7b23b2c0$3f0d708c@mflab> References: <001201c447e0$7b23b2c0$3f0d708c@mflab> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: problem of vipw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 22:22:14 -0000 On Tue, 1 Jun 2004 21:58:13 +0800 "Hamilton" wrote: > Hi, > I would like to add a new user into my system. > I simply execute the vipw command from the remote machine. > No matter how I execute vipw as root or sudo vipw, the system shows > the error message to me. > i.e. I execute > #vipw --> as root > #sudo vipw > vipw: pw_edit() No such file or directory Dear Hamilton, I would guess that this is probably just a path error. You might be able to start vipw by just typing "/usr/sbin/vipw". If this solves the problem, you might want to add /usr/sbin to the path (it should be there by default, but that depends on what account you're using to log in with). You can set the path in the ~/.profile hidden file. regards, Robert