Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2005 16:58:54 +0000
From:      "Valerio Daelli" <vdaelli@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: vipw: could not lock the passwd file: : Operation not supported
Message-ID:  <BAY103-F28B106CEF0EDF891F4A737B0FB0@phx.gbl>
In-Reply-To: <ef10de9a05060608202ef9ad3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


>From: Nikolas Britton <nikolas.britton@gmail.com>
>Reply-To: Nikolas Britton <nikolas.britton@gmail.com>
>To: Valerio Daelli <vdaelli@hotmail.com>
>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 
><vdaelli@hotmail.com>; 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> 
><BAY103-F3D7AF1F06C6C30783CD68B0FB0@phx.gbl>
>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 <vdaelli@hotmail.com> 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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY103-F28B106CEF0EDF891F4A737B0FB0>