Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 10:05:45 -0600
From:      "Jamie Bumsted" <jbumsted@evertek.net>
To:        "James Housley" <jim@thehousleys.net>
Cc:        <freebsd-isp@freebsd.org>
Subject:   RE: Admin Scripting
Message-ID:  <NKEKILAJANMPNGDPLAAICEMCCMAA.jbumsted@evertek.net>
In-Reply-To: <3A9A7620.40808010@thehousleys.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NKEKILAJANMPNGDPLAAICEMCCMAA.jbumsted>