Re: how is lastlog written ?

From: Barry Margolin (barry.margolin@level3.com)
Date: 04/01/03


From: Barry Margolin <barry.margolin@level3.com>
Date: Mon, 31 Mar 2003 23:39:31 GMT

In article <_Zzha.9968$0X.3582868@twister.columbus.rr.com>,
Jack Patteeuw <jjpatteeuw@peoplepc.com> wrote:
>Specifically, what call get the host name/address of where you are
>coming from.

There is no such call. The telnet/ssh/whatever server passes the hostname
as a parameter to login, and login then stores it in utmp and lastlog.

-- 
Barry Margolin, barry.margolin@level3.com
Genuity Managed Services, a Level(3) Company, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


Relevant Pages

  • Re: Trouble shooting ssh -v
    ... ** So, basically, if on host A you create: ... hostname a.fqdn ... I can only recommend once again that you don't use passwordless ... If you *have* to have passwordless root login - I do, ...
    (comp.unix.solaris)
  • forwarding syslog to remote machine, getting no hostname
    ... I have a Sparc 5 running Solaris 2.6 and sending syslog ... auth.notice] ROOT LOGIN /dev/pts/2 FROM 10.100.50.42 ... Notice in that packet that where there should normally be the hostname, ... # grep host /etc/nsswitch.conf ...
    (comp.unix.solaris)
  • Re: /etc/hosts.equiv & .rhosts
    ... want to login at another host, that host needs the first host's name ... best to allow key-only login so hackers can't ... on the port 22 as it WILL be messed with all day long. ... # Protocol 2 only ...
    (comp.os.linux.security)
  • Re: Changing Biztalk Sevice Login Accounts
    ... You'll want to change the identity on the host instances, ... sure it is in IIS_WPG group and that for web services it has rights to the ... > I'm a Biztalk newbie, I installed a two server simple Biztalk setup ... > logins during the installation as the authenticating login. ...
    (microsoft.public.biztalk.general)
  • Re: security on linux
    ... key of every HSRC host I want to login from in the account's ... Treo so I can ssh in from there also. ... After you restart the sshd daemon (this won't kill the ...
    (comp.os.linux.misc)