From owner-freebsd-isp Mon Feb 26 9:52:38 2001 Delivered-To: freebsd-isp@freebsd.org Received: from ra.upan.org (ra.upan.org [204.107.76.19]) by hub.freebsd.org (Postfix) with ESMTP id 2CD1C37B4EC for ; Mon, 26 Feb 2001 09:52:32 -0800 (PST) (envelope-from mikel@ocsinternet.com) Received: from ocsinternet.com (localhost.upan.org [127.0.0.1]) by ra.upan.org (8.11.1/8.11.1) with ESMTP id f1QHo7k15950; Mon, 26 Feb 2001 12:50:07 -0500 (EST) (envelope-from mikel@ocsinternet.com) Message-ID: <3A9A974E.8C9296E6@ocsinternet.com> Date: Mon, 26 Feb 2001 12:50:07 -0500 From: Mikel King Organization: OCS Internet X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jamie Bumsted Cc: James Housley , freebsd-isp@FreeBSD.ORG Subject: Re: Admin Scripting References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok first things first check into /etc/pw.conf there is an option for default mail message which you can use any text file and then run "pw usermod root -c 'Root Meister' " to change root's name... Cheers, mikel Jamie Bumsted wrote: > >>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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message