Is there a way to send a message to all logged-in users on an OS X (Snow Leopard) server? Sometimes I need to reboot the server and would like to give everyone a notice of the impending reboot that gives them five minutes to log-out before I proceed.

link|improve this question
1  
What kind of logged in users? web, smb/afp, ssh, etc? – Scott Pack May 11 '10 at 2:22
feedback

2 Answers

If you have OS X server and your users are using AFP, you can send them a message in the AFP section of the Server Admin tools. Also, if you are using Apple Remote Desktop and have it authorized for all computers, you can send a message even if users don't use AFP.

link|improve this answer
feedback

In BSD the command would be wall and OS X is based on BSD, you might give it a try.

link|improve this answer
That will go to most ttys, yes. The window manager won't, however, pick up the message for display on the console tty. – Scott Pack May 11 '10 at 2:28
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.