Re: Who is logged into this box?
Dotan Cohen wrote:
> On a machine that I have root access to, how can I see who is logged
> into the machine? Specifically, I suspect that a malicious entity is
> logging on in a compromised account over SSH, even while the account's
> user is sitting at the machine and logged in, so if I can catch two
> simultaneous login sessions (one on the physical hardware, one over
> ssh) then I can be sure. Thanks.
>
I believe just type w in a command line should dump all users.
--
Steve Reilly
http://reillyblog.com
Reply to: