Date: Wed, 23 Apr 1997 02:16:57 -0700 (PDT) From: Alex Belits <abelits@phobos.illtel.denver.co.us> To: Adrian Chadd <adrian@staff.psinet.net.au> Cc: freebsd-hackers@freebsd.org Subject: Re: Best way to hook into user logins / logouts ? Message-ID: <Pine.LNX.3.95.970423021141.26011A-100000@phobos.illtel.denver.co.us> In-Reply-To: <Pine.LNX.3.93.970423162956.4080A-100000@staff.psinet.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Apr 1997, Adrian Chadd wrote: > Hi. > > For what I'm working on I need to hook into when users login and logout. > The "best" way I can find currently is hooking into the wtmp updates in > libc (especially for the logouts), does anyone know any better ways? That will be completely broken for xterm. Actually it all depends on what "login" is, and for all imaginable needs you can use /etc/profile or wrapper as user shell (and defined in /etc/shells) that exec's real shell. -- Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.970423021141.26011A-100000>