Well, you'd have to do it at each terminal, or you'd have to have them all logged in at the same time, run a "w" or "who", and then do a lookup on all the currently logged in "user"s.
Can't help you with the C++ part...sorry. On Mon, 11 Nov 2002, Zoltan Szabo wrote: > Thanks, but the problem is not that simple. > There are more terminals with the same user/password. > And the other problem is that I have to do this in a C++ program. > > > ----- Original Message ----- > From: Mike Burger <[EMAIL PROTECTED]> > Date: Mon, 11 Nov 2002 06:57:30 -0500 (EST) > To: [EMAIL PROTECTED] > Subject: Re: Question > > > > "finger <username>" > > > > If that returns a named address instead of a numeric address, you can > > then: > > > > "nslookup <named.address>" > > > > On Mon, 11 Nov 2002, Zoltan Szabo wrote: > > > > > Hi > > > > > > I have a question. > > > How can I find out, from what ip address I am logged to a Linux server (through >telnet). There can be more terminals logged with the same user. I can use only my >terminal. > > > > > > Thanks > > > > > > > -- > > Mike Burger > > http://www.bubbanfriends.org > > > > Visit the Dog Pound II BBS > > telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000 > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list