In message <[EMAIL PROTECTED]>it was written:
>Greetings,
>
>When you issue the reboot command the system does a system wide message
>saying the machine is rebooting NOW.  How would I send a message to all
>the people that are on the system?  I assume this would need to be done
>as root?

that is done with the command 'wall'.

according to the manpage:

     Wall displays the contents of file or, by default, its standard input, on
     the terminals of all currently logged in users.

     Only the super-user can write on the terminals of users who have chosen
     to deny messages or are using a program which automatically denies mes-
     sages.


as always,
nick
            [EMAIL PROTECTED] * http://www.fargus.net/nick
    Developer - Systems Engineer - Mad System Guru - MOO Sales
    he picks up scraps of information/he's adept at adaptation
because for strangers and arrangers/constant change is here to stay

Reply via email to