From owner-freebsd-questions Fri Apr 20 10:48:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zogbe.tasam.com (hc6526bd1.dhcp.vt.edu [198.82.107.209]) by hub.freebsd.org (Postfix) with ESMTP id 6B10437B43C for ; Fri, 20 Apr 2001 10:48:25 -0700 (PDT) (envelope-from clash@tasam.com) Received: from battleship (hc6526bd1.dhcp.vt.edu [198.82.107.209]) by zogbe.tasam.com (8.11.3/8.11.3) with SMTP id f3KHmEc26741; Fri, 20 Apr 2001 13:48:14 -0400 (EDT) Message-ID: <007101c0c9c2$11906cd0$dc02010a@battleship> From: "Joseph Gleason" To: "Odhiambo Washington" , "FBSD-Q" References: <20010420200350.A66763@everest.wananchi.com> Subject: Re: Foo Date: Fri, 20 Apr 2001 13:48:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Personaly I would make it all part of a script. example: #!/bin/sh pw cat /etc/adduser.message |mail -s "new account created" $newuser or something like that ----- Original Message ----- From: "Odhiambo Washington" To: "FBSD-Q" 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