Re: Watching user
From: Nico Kadel-Garcia (nkadel_at_verizon.net)
Date: 08/31/03
- Next message: Doug Laidlaw: "Bogus logical sector + kernel panic"
- Previous message: Nico Kadel-Garcia: "Re: Setting up PC for dual-boot Linux and Windows XP"
- In reply to: Juha Siltala: "Re: Watching user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Aug 2003 13:08:19 GMT
Juha Siltala wrote:
> In article <pan.2003.08.31.07.47.46.765299@gameprog.it>, NighTiger wrote:
>
>
>>when a user connect to me through ssh server, how I can look what
>>him do?
>
>
> w - Show who is logged on and what they are doing.
>
> lsof - list open files (see the -u option)
>
> fuser - identify processes using files or sockets
>
And if they're using "bash" as their shell, look t their personal
.bash_history file. Or if you want to be really fascist, replace their
shell with one that records every key stroke (a technique usually used
by crackers to record other people's keystrokes on machines the cracker
has broken into).
- Next message: Doug Laidlaw: "Bogus logical sector + kernel panic"
- Previous message: Nico Kadel-Garcia: "Re: Setting up PC for dual-boot Linux and Windows XP"
- In reply to: Juha Siltala: "Re: Watching user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|