vipw: could not lock the passwd file: : Operation not supported
vdaelli at hotmail.com
Mon Jun 6 16:58:55 GMT 2005
>From: Nikolas Britton <nikolas.britton at gmail.com>
>Reply-To: Nikolas Britton <nikolas.britton at gmail.com>
>To: Valerio Daelli <vdaelli at hotmail.com>
>Subject: Re: vipw: could not lock the passwd file: : Operation not
>Date: Mon, 6 Jun 2005 10:20:10 -0500
>Received: from wproxy.gmail.com ([126.96.36.199]) 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 at 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)
>DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta;
>References: <20050606014438.DC64A1DE8C at imss.sgp.fujixerox.com>
><BAY103-F3D7AF1F06C6C30783CD68B0FB0 at phx.gbl>
>Return-Path: nikolas.britton at gmail.com
>X-OriginalArrivalTime: 06 Jun 2005 15:26:52.0848 (UTC)
>On 6/6/05, Valerio Daelli <vdaelli at 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.
More information about the freebsd-questions