Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2016 17:19:07 +0200
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        "Brandon J. Wandersee" <brandon.wandersee@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: User login information on console
Message-ID:  <CAOaKuAWPJ5yWGgYFCos-FXisuhqTvbPJH71gfEE_5hcrVLEWzw@mail.gmail.com>
In-Reply-To: <86fusumnx1.fsf@WorkBox.Home>
References:  <0fe96fb9-b6af-777e-9c40-d2552e05a045@gmail.com> <86fusumnx1.fsf@WorkBox.Home>

next in thread | previous in thread | raw e-mail | index | archive | help
Op 3 jun. 2016 14:56 schreef "Brandon J. Wandersee" <
brandon.wandersee@gmail.com>:
>
>
> 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@gmail.com
> ::  --------------------------------------------------
> ::  'The best design is as little design as possible.'
> ::  --- Dieter Rams ----------------------------------

What I would like is a message like you get on the console when someone su
to root. So if I am logged in as root that I would get the message from the
first console also in a ssh session.
It is not about trust, but in case of trouble it sometimes happens two
people are working on the same issue.
So sysadmin 1 log in and become root. He starts to do his thing. Then
sysadmin 2 read the same ticket and logs in also.
They are not aware that they both work on the same problem.
If sysadmin 2 become root and sysadmin 1 sees that because he saw the su to
root then he  could  notify sysadmin 2 that he is already working on it.

But set watch = (0 all all ) shows logged in users so that way sysadmin 2
sees that one is already logged in so it helps already. But the su message
would be nice.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOaKuAWPJ5yWGgYFCos-FXisuhqTvbPJH71gfEE_5hcrVLEWzw>