I want to do some maintenance on a server but in order to do that I need all users to be logged off. But I want to send I message (like shutdown do when you want to shutdown the system) to all the users to save their work and after that, log everyone off.
For a better understanding, I need the same function as the command shutdown (can send a warning message following the situation) except that instead of shutting down the system, it just logs everyone off.
Is there such command in linux ?
