EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Capturing a telnet connection event
From: Kay-Uwe Kasemir <[email protected]>
To: [email protected]
Date: Thu, 11 Apr 2002 12:23:42 -0600
At 12:16 PM 4/11/2002, Andrew Johnson wrote:
>There are also two undocumented routines mentioned in
>shellLib.h called shellLoginInstall() and shellLogoutInstall() that you
>can use to install your own routines to be called when someon does
>{dis}connect.  I use that here at APS to output the long DOE "you must be
>authorized to use this machine" message before prompting for the username
>and password.

A documented alternative to that might be:

loginStringSet("login (you must be authorized to use this machine): ")


-Kay






>STATUS apsLoginPrompt(char *userName) {
>        puts(doe_msg);
>        taskDelay(1);           /* Give the above message a chance to
>flush */
>        return loginPrompt(userName);
>}
>
>In config/all/usrConfig.c the following line was added immediately after
>the call to loginInit():
>
>shellLoginInstall (apsLoginPrompt, NULL); /* install security program */


Replies:
Re: Capturing a telnet connection event Andrew Johnson
References:
Capturing a telnet connection event J. Frederick Bartlett ([email protected])
Re: Capturing a telnet connection event Andrew Johnson

Navigate by Date:
Prev: Re: Capturing a telnet connection event Andrew Johnson
Next: Re: Capturing a telnet connection event Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Capturing a telnet connection event Andrew Johnson
Next: Re: Capturing a telnet connection event Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·