User login information on console

Brandon J. Wandersee brandon.wandersee at
Fri Jun 3 13:01:24 UTC 2016

Johan Hendriks writes:

> Hello all.
> If someone logs in and su to root, then there is a line printed on the
> first console.
> Is it possible to print this to all logged in root users with a ssh session?

Would you mind sharing more details about your situation, and what your
goal and resons for wanting this are? It sounds like you're placing an
exceptional amount of trust in a lot of people.

All privileged log-ins are recorded in /var/log/auth.log, so that's a
good place to start if you want to track privileged log-ins.


::  Brandon J. Wandersee
::  brandon.wandersee at
::  --------------------------------------------------
::  'The best design is as little design as possible.'
::  --- Dieter Rams ----------------------------------

More information about the freebsd-questions mailing list