2

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.

mobius1ski
  • 21
  • 1
  • 2

3 Answers3

2

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.

Sven
  • 97,248
  • 13
  • 177
  • 225
1

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

Warner
  • 23,440
  • 2
  • 57
  • 69
  • 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 02:28
0

If the system has "Remote Management" enabled and you have ARD (Apple Remote Desktop), you can select Interact->Send Message to send a message to one or more users.

Unfortunately, if you are using the Screen Sharing service instead (which allows multiple desktop logins) you won't be able to also have Remote Management enabled, which is what led me to this post.

Simon
  • 1
  • 1