Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 1997 19:53:16 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        adrian@staff.psinet.net.au (Adrian Chadd)
Cc:        abelits@phobos.illtel.denver.co.us, freebsd-hackers@freebsd.org
Subject:   Re: Best way to hook into user logins / logouts ?
Message-ID:  <199704231023.TAA21431@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.LNX.3.93.970423171446.4183A-100000@staff.psinet.net.au> from Adrian Chadd at "Apr 23, 97 05:28:27 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Chadd stands accused of saying:
> 
> Logging in is easy (I was thinking /etc/profile :) the thing is when
> people logout .. I have some people on this box with real shells (admins),
> and I have others with slip, others with ppp, and others with remote
> logins into a shell machine. I'd rather hack one thing than hack lots (and
> have to keep hacking everytime we add something new:)
> 

You probably want to hook telnetd, rlogind, sshd, init and xdm, as 
these are present before and after a user logging in.
(Maybe getty rather than init, depending on preference.)

-- 
]] Mike Smith, Software Engineer        msmith@gsoft.com.au             [[
]] Genesis Software                     genesis@gsoft.com.au            [[
]] High-speed data acquisition and      (GSM mobile)     0411-222-496   [[
]] realtime instrument control.         (ph)          +61-8-8267-3493   [[
]] Unix hardware collector.             "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704231023.TAA21431>