Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 1997 16:13:43 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        davidn@unique.usn.blaze.net.au (David Nugent)
Cc:        abelits@phobos.illtel.denver.co.us, adrian@staff.psinet.net.au, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Best way to hook into user logins / logouts ?
Message-ID:  <199704240643.QAA25379@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199704240551.PAA26327@unique.usn.blaze.net.au> from David Nugent at "Apr 24, 97 03:51:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
David Nugent stands accused of saying:
> > ...and this is exactly what I mean by "broken" -- starting xterm isn't
> > exactly "login".

Correct.

> Oh, well then I guess it depends on your definition. :) It *is* in
> fact a session, even in the truest technical sense. But even under
> your more strict definition of "login", then you'd miss a lot of
> real "logins" if you didn't account form them, for example, if an
> xterm was started from remote by:
> 
>    rsh <yourhost> exec env DISPLAY=$HOSTDISPLAY xterm &

Er, entry via xdm is a login.  The above is a login because rsh uses
rshd, not because it starts an xterm.

Can you suggest a means of starting a session that doesn't involve :

 getty
 telnetd
 rlogind/rshd/sshd/etc.
 xdm

?? (I'm serious, I'm trying to firm the 'where does PAM auth/admin go?'
answer)

-- 
]] 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?199704240643.QAA25379>