Date: Sat, 8 Sep 2001 10:48:42 -0400 From: "Chris Scarpinzicci" <chris@unix-fu.org> To: <freebsd-questions@freebsd.org> Subject: Re: problem with pw command Message-ID: <003101c13875$5a73c470$1a222f0a@funhouse> References: <001d01c137f3$e1fb54d0$0fa06bcf@custinfo>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <sysop@interlinks.net> To: <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003101c13875$5a73c470$1a222f0a>