User login information on console
b.manas.88 at gmail.com
Fri Jun 3 13:31:04 UTC 2016
>If someone logs in and su to root, then there is a line printed >on the
>Is it possible to print this to all logged in root users with a >ssh session?
If you run a script to watch for any changes to /var/log/auth.log, you may be able to watch for messages about "su to root" and then use 'wall' to broadcast a message to users who are root? This might work but I'm not really sure.
More information about the freebsd-questions