Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2001 13:48:12 -0400
From:      "Joseph Gleason" <clash@tasam.com>
To:        "Odhiambo Washington" <wash@wananchi.com>, "FBSD-Q" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Foo
Message-ID:  <007101c0c9c2$11906cd0$dc02010a@battleship>
References:  <20010420200350.A66763@everest.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Personaly I would make it all part of a script.

example:

#!/bin/sh

pw <blah ...>
cat /etc/adduser.message |mail -s "new account created" $newuser

or something like that


----- Original Message ----- 
From: "Odhiambo Washington" <wash@wananchi.com>
To: "FBSD-Q" <freebsd-questions@FreeBSD.ORG>
Sent: Friday, April 20, 2001 13:03
Subject: Foo

Gentlemen,

Now about pw, is there a way I can also make it send a message when I use
it to add a user, like tell it to read my /etc/adduser.message?

TIA

-Wash




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007101c0c9c2$11906cd0$dc02010a>