From owner-freebsd-current Mon Oct 26 12:04:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA16114 for freebsd-current-outgoing; Mon, 26 Oct 1998 12:04:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ccsales.com (ccsales.com [216.0.22.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16093; Mon, 26 Oct 1998 12:04:49 -0800 (PST) (envelope-from randyk@ccsales.com) Received: from ntrkcasa (pool96.hiper.net [216.0.22.96]) by ccsales.com (8.9.1/8.9.0) with SMTP id MAA19254; Mon, 26 Oct 1998 12:03:54 -0800 (PST) Message-Id: <3.0.5.32.19981026115650.05103b10@ccsales.com> X-Sender: randyk@ccsales.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 26 Oct 1998 11:56:50 -0800 To: Bill Sandiford , freebsd-current@FreeBSD.ORG From: "Randy A. Katz" Subject: Re: FreeBSD 3.0 Release and pw command - Potential Bug? Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Check your $PATH. At 05:28 PM 10/22/98 -0400, Bill Sandiford wrote: > > >We are having a problem with FreeBSD 3.0 Release and it's associated pw >command. We have scripts that used to work perfectly in the 2.2.x line. >The script still works perfectly when we run it manually as root (logged >in at the terminal) however when cron executes the script, the pw commands >in the script don't work. We are executing the script using the crontab >for root. We know that the script is executing because some of the >other commands in the script are happening and working. The script is >designed to add a new user to our system and the line with pw looks >something like this : > >echo password | pw useradd username -h 0 -c "Full Name" -g group -u uid -m -d homedir > >obviously we substitute a correct numeric id for uid and proper groupname >for group, etc. > >We are not sure if this is a problem with our system or a bug with the pw >command that is in the 3.0 release...we have also tried invoking the >script from and inetd process as well.....we have tried this script on 3 >different systems and it doesn't work on any of them except when invoked >manually. > >Any help please!!! > >------------------------------------------ >Bill Sandiford Jr. - Systems Administrator >Interlinks - http://www.interlinks.net >sysop@interlinks.net - bill@interlinks.net >(905)404-0810 > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message