From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 05:32:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B663A37B401 for ; Sun, 13 Apr 2003 05:32:44 -0700 (PDT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D575243FCB for ; Sun, 13 Apr 2003 05:32:43 -0700 (PDT) (envelope-from nyogtha@flipp.net) Received: from LAPDANCE (deathpolka.nyogtha.org [217.13.20.12]) by mail.broadpark.no (Postfix) with SMTP id 6563378D22 for ; Sun, 13 Apr 2003 14:32:42 +0200 (MEST) Message-ID: <007a01c301b8$c329c290$3800000a@LAPDANCE> From: "Aslak Evang" To: Date: Sun, 13 Apr 2003 14:32:35 +0200 Organization: THS 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 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: mail to all users on a system (from root) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2003 12:32:45 -0000 I've searched for ways for root to email all users on a system. The only easy solution I found included making a shellscript and setting it as an alias for "everybody". Problem was that in the script you had to insert all your users manually. Does anybody know of other methods for sending announcements to all users on a system? Could have done it with MOTD but few of them actually log-in. Most just read mail. suggestions? - Aslak -- .______________ ___ _________. ____ ___ _______ \__ ___/ | \/ _____/ / __/______ ___ / _ )/ __/ _ \ | | / ~ \_____ \ / _// __/ -_) -_) _ |\ \/ // / | | \ Y / \ /_/ /_/ \__/\__/____/___/____/ /-|____|--\___|_ /_______ /---http://nyogtha.org-------->->-\ /-<-<------------\/--------\/---------------nyogtha@flipp.net---\