From owner-freebsd-isp Mon Feb 26 8: 9: 0 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mail.evertek.net (evertek.net [167.142.171.47]) by hub.freebsd.org (Postfix) with ESMTP id BD4D437B491 for ; Mon, 26 Feb 2001 08:08:55 -0800 (PST) (envelope-from jbumsted@evertek.net) Received: from i7500 (i7500.evertek.net [167.142.171.33] (may be forged)) by mail.evertek.net (8.9.3/8.8.7) with SMTP id KAA22915; Mon, 26 Feb 2001 10:13:36 -0600 From: "Jamie Bumsted" To: "James Housley" Cc: Subject: RE: Admin Scripting Date: Mon, 26 Feb 2001 10:05:45 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <3A9A7620.40808010@thehousleys.net> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>Is there a reason not to use the adduser script? I am running this script on the WWW box that holds my users WWW page space, so I use pw to generate their account and random password, then I email the output to them and tell them how to change their password. Perhaps there is an easier way altogether with the adduser script? -----Original Message----- From: housley@thehousleys.net [mailto:housley@thehousleys.net]On Behalf Of James Housley Sent: Monday, February 26, 2001 9:29 AM To: Jamie Bumsted Cc: FreeBSD-ISP@freebsd.org Subject: Re: Admin Scripting Jamie Bumsted wrote: > > Hi, > > First let me give my disclaimer - I am new to BSD, if the following is a > stupid question I apologize for wasting your inbox space! > > I am working on a shell script that will create a user account and > automagically send a "welcome" email to the new account. My only issue is > that the email shows a From line of Charlie Root. This is fine for most > people, but I have quite a few customers who are....well you know. Aside > from running the script as someone other than root, does anyone know how I > can change this? > Is there a reason not to use the adduser script? Use vipw and change the RealName for root. Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- It's always a long day, 86400 doesn't fit into a short. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message