From owner-freebsd-questions Thu Oct 22 06:47:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02929 for freebsd-questions-outgoing; Thu, 22 Oct 1998 06:47:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns2.interlinks.net (ns2.interlinks.net [207.107.160.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA02921 for ; Thu, 22 Oct 1998 06:47:44 -0700 (PDT) (envelope-from sysop@interlinks.net) Received: from ns1 (ns3.interlinks.net [207.107.160.3]) by ns2.interlinks.net (8.9.1/8.8.8) with SMTP id JAA21188; Thu, 22 Oct 1998 09:40:19 -0400 (EDT) Message-ID: <000601bdfdc2$79267c50$03a06bcf@ns1.interlinks.net> From: "Bill Sandiford" To: "Studded" Cc: Subject: Re: pw and cron - bug in FreeBSD 3.0? Date: Thu, 22 Oct 1998 09:47:12 -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 4.72.3115.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG yes we are using -h...The script runs perfectly when it is run manually....but the portions of the script that use pw do not work executed by cron as root. -----Original Message----- From: Studded To: Bill Sandiford Cc: freebsd-questions@FreeBSD.ORG ; tomw@provcomom.net Date: Thursday, October 22, 1998 12:27 AM Subject: Re: pw and cron - bug in FreeBSD 3.0? >Bill Sandiford wrote: >> >> An associate and I have found what we think may be a bug in the FreeBSD >> 3.0 version of pw. When running a script that contains pw from either >> cron or any other facility, pw fails to operate. > > Are you using the -h argument? My quick scan of the man page (and a >foggy memory) seem to indicate that is a necessary step when using it in >a script. You might want to check the archives (as you should before >sending a report of this type anyway :) and see if you can find >something more concrete. I'm almost sure this has come up before. > >Doug >-- >*** Chief Operations Officer, DALnet IRC network *** > > Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message