vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| HI, What command can I use so I can calculate the IP address where a given user is using ?. I can see the IP if I run a finger command here: Login Name Tty Idle Login Time Where alopez Anna Lopez 2f5 Thu Apr 10 05:58 arrowood Tony Arrowood p31 1:15 Thu Apr 10 06:17 mail.nyblock.com bbentley Belinda Bentley p13 4 Thu Apr 10 05:24 mylan159 bcoen Brittnee Coen p44 Thu Apr 10 06:57 mylan176 beaulieu Ed Beaulieu p32 Thu Apr 10 06:29 192.168.4.60 I need to get that 192.168.4.60 address somehow? Is there an easy way ? What I need is something like this : ip beaulieu > 192.168.4.60 Thanks |
| ||||
| On Thu, 10 Apr 2008, Enrique Arredondo wrote: > HI, > > What command can I use so I can calculate the IP address where a given user > is using ?. I can see the IP if I run a finger command here: > ... If you are using OpenSSH's daemon, it sets environment variables SSH_CLIENT and SSH_CONNECTION. You could easily query and parse these. Regards, .....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras@anzio.com company e-mail: rsi@anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA |