Dotan Cohen wrote:
> 2009/1/11 steve <sfrei...@roadrunner.com>:
>> 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.
>>
> 
> What ever happened to long, complicated commands?!?
> 
> Thanks!
> 

ok lol

 w -h -u -s -f -o  >users.txt


i often wondered where some of these commands got their name from
myself. w?  and that is short for user in what way??






-- 
Steve Reilly

http://reillyblog.com





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to