From owner-freebsd-questions Sat Sep 8 7:41:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from unix-fu.org (cc796063-d.union1.nj.home.com [65.15.105.168]) by hub.freebsd.org (Postfix) with SMTP id 8A54B37B401 for ; Sat, 8 Sep 2001 07:41:14 -0700 (PDT) Received: (qmail 20930 invoked from network); 8 Sep 2001 14:47:40 -0000 Received: from cc796063-g.union1.nj.home.com (HELO funhouse) (65.15.105.184) by cc796063-d.union1.nj.home.com with SMTP; 8 Sep 2001 14:47:40 -0000 Message-ID: <003101c13875$5a73c470$1a222f0a@funhouse> From: "Chris Scarpinzicci" To: References: <001d01c137f3$e1fb54d0$0fa06bcf@custinfo> Subject: Re: problem with pw command Date: Sat, 8 Sep 2001 10:48:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Bill, You might want to try running it through truss. If truss isn't already installed on your system, try using the following command: pkg_add -r truss Upon completion, run the following command: truss -o ~/pw.log echo newpass | pw usermod username Then vi ~/pw.log and see if you can spot where it tries to open/access the file(s) that doesn't/don't exist. Try that. See if it helps. -Chris ----- Original Message ----- From: "Bill Sandiford" To: Sent: Friday, September 07, 2001 7:21 PM Subject: problem with pw command > I have a script on my machine that calls the pw command. I have been > running this script for 3 years and it has worked fine. I use it to change > passwords. it uses the pw command in the following syntax > > echo newpass | pw usermod username > > this has worked fine but suddently today it is dropping out with the > following error > > pw: password update: No such file or directory > > I have tried everything I can but can't fix this > > Please help > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message