Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 12:50:07 -0500
From:      Mikel King <mikel@ocsinternet.com>
To:        Jamie Bumsted <jbumsted@evertek.net>
Cc:        James Housley <jim@thehousleys.net>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Admin Scripting
Message-ID:  <3A9A974E.8C9296E6@ocsinternet.com>
References:  <NKEKILAJANMPNGDPLAAICEMCCMAA.jbumsted@evertek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9A974E.8C9296E6>