From owner-freebsd-questions@FreeBSD.ORG Mon Jun 6 16:58:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6828D16A41C for ; Mon, 6 Jun 2005 16:58:55 +0000 (GMT) (envelope-from vdaelli@hotmail.com) Received: from hotmail.com (bay103-f28.bay103.hotmail.com [65.54.174.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C8843D4C for ; Mon, 6 Jun 2005 16:58:55 +0000 (GMT) (envelope-from vdaelli@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 6 Jun 2005 09:58:54 -0700 Message-ID: Received: from 65.54.174.210 by by103fd.bay103.hotmail.msn.com with HTTP; Mon, 06 Jun 2005 16:58:54 GMT X-Originating-IP: [65.54.174.210] X-Originating-Email: [vdaelli@hotmail.com] X-Sender: vdaelli@hotmail.com In-Reply-To: From: "Valerio Daelli" To: freebsd-questions@freebsd.org Date: Mon, 06 Jun 2005 16:58:54 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 06 Jun 2005 16:58:54.0876 (UTC) FILETIME=[05CD45C0:01C56AB9] Subject: Re: vipw: could not lock the passwd file: : Operation not supported 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, 06 Jun 2005 16:58:55 -0000 >From: Nikolas Britton >Reply-To: Nikolas Britton >To: Valerio Daelli >Subject: Re: vipw: could not lock the passwd file: : Operation not >supported >Date: Mon, 6 Jun 2005 10:20:10 -0500 >MIME-Version: 1.0 >Received: from wproxy.gmail.com ([64.233.184.206]) by mc2-f21.hotmail.com >with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Jun 2005 08:26:52 -0700 >Received: by wproxy.gmail.com with SMTP id 67so4729994wri for >; Mon, 06 Jun 2005 08:26:51 -0700 (PDT) >Received: by 10.54.49.26 with SMTP id w26mr3295310wrw; Mon, 06 Jun >2005 08:20:11 -0700 (PDT) >Received: by 10.54.124.2 with HTTP; Mon, 6 Jun 2005 08:20:10 -0700 (PDT) >X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8= >DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; >d=gmail.com; >h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; > >b=I46dF0QiyvoOaAaieZMXRo9eli2REHtIyOzsvoJNfKA106m75TVN2eyGqF+PiwyDr4/NPhGsJwTbBk5VXzljyjP9OKgb2zDuFEZTf+9p4GvPGPs8Tz1R+J/+n1nMLRZeaGGGSAVQ7KKj3BsWhPIcEtJbAvS1Agj2rhzc3B/kIjo= >References: <20050606014438.DC64A1DE8C@imss.sgp.fujixerox.com> > >Return-Path: nikolas.britton@gmail.com >X-OriginalArrivalTime: 06 Jun 2005 15:26:52.0848 (UTC) >FILETIME=[2A6AAB00:01C56AAC] > >On 6/6/05, Valerio Daelli wrote: > > Hi all, > > we have FreeBSD 5.4 jail which is mounted via NFS from a host machine. > > The filesystem containing the jail is mounted from a remote machine. > > Everything is fine, except when I try to add a user in the jail I get a: > > > > vipw: could not lock the passwd file: : Operation not supported > > > > I solved the problem in pwd_mkdb using the -i switch. > > But I can't find any similar options in vipw. > > Has anyone an idea about this? > > Bye > > > > Valerio Daelli > >It sounds like your not logged in as root, I'm sure you are but I have >never played with jails. Have you tried the adduser or pw commands?, >vipw is not the best tool for adding users because you can fsck your >system if your not careful.