Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2001 07:18:04 -0000
From:      "Jason Halbert" <jason@jason-n3xt.org>
To:        "Mike Meyer" <mwm@mired.org>
Cc:        <questions@freebsd.org>
Subject:   RE: System Announcement
Message-ID:  <ICEEIHNIIMPDELNLPAGPGELCCBAA.jason@jason-n3xt.org>
In-Reply-To: <15026.59486.994191.219290@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmm...
Why is it that I can always seem to figure out the hard stuff but easy
stuff like this I can't seem to find. >=\

---
Jason


> -----Original Message-----
> From: Mike Meyer [mailto:mwm@mired.org]
> Sent: Saturday, March 17, 2001 04:30
> To: Jason Halbert
> Cc: questions@freebsd.org
> Subject: Re: System Announcement
>
>
> Jason Halbert <jason@jason-n3xt.org> types:
> > Hello:
> > Is there a way of making a system announcement?  I need
> one that users
> > will get when they log in and then again occasionally
> while they are
> > logged in.  I need to announce system restarts and such.
>
> To pull the answers into one place, and add a bit:
>
> /etc/motd is displayed to all user who haven't disabled it on
> login. If you've got a recent system, you can use the if field of
> /etc/gettytab to to provide a bit finer control, though I've not
> played with it.
>
> For announcements to everyone currently logged in, use wall. For
> system restarts, the shutdown command does everything you want. You
> can schedule the shutdown for a specific time, and provide a message
> to be sent to everyone with at various intervals until the shutdown
> time arrives. Try "shutdown -k +30 Quake is to slow." to see it in
> action without actually shutting down the system.
>
> Read the man pages for shutdown, wall, and motd for more
> information. The man page for gettytab doesn't really provide more
> information about /etc/issue :-(.
>
> 	<mike
>
> --
> Mike Meyer <mwm@mired.org>
> http://www.mired.org/home/mwm/
> Independent WWW/Perforce/FreeBSD/Unix consultant, email for
> more information.
>


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?ICEEIHNIIMPDELNLPAGPGELCCBAA.jason>