How can I identify all terminals that have a root login on them on Linux?
who -a seems to give me regular logins but what about root?
So in that case you are probably better off looking for
I would guess that something like this should work for you:
Although you probably want to look at