Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 10:37:04 -0500
From:      Robert Hough <rch@solveinteractive.com>
To:        FreeBSD-ISP@FreeBSD.ORG
Subject:   Re: Admin Scripting
Message-ID:  <20010226103704.A9502@solveinteractive.com>
In-Reply-To: <NKEKILAJANMPNGDPLAAIAELPCMAA.jbumsted@evertek.net>; from jbumsted@evertek.net on Mon, Feb 26, 2001 at 09:19:03 -0600
References:  <NKEKILAJANMPNGDPLAAIAELPCMAA.jbumsted@evertek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 26, 2001, Jamie Bumsted wrote:
> 
> I am working on a shell script that will create a user account and
> automagically send a "welcome" email to the new account.

Is there something you want to do that adduser can't do for you? The last
time I used adduser, it gives you this option from the get go.
---> man adduser

> My only issue is that the email shows a From line of Charlie Root.

You can change the name of the root account using vipw.
---> man vipw

> Aside from running the script as someone other than root, does anyone
> know how I can change this?

If memory serves me, you can use sendmail -F to set the full name of the
sender, but it's been awhile. This can be done with sendmail, though I'm
not sure about qmail or postfix. I would imagine you could do it with
those as well though.
---> man sendmail

-- 
Robert Hough (rch@solveinteractive.com)

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?20010226103704.A9502>