Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!isis.cs.du.edu!jsharp From: jsharp@isis.cs.du.edu (Joe Sharp) Newsgroups: comp.unix.xenix.sco Subject: Re: Login prompt change Keywords: login Message-ID: <1991May23.142230.24816@mnemosyne.cs.du.edu> Date: 23 May 91 14:22:30 GMT References: <9020@ucdavis.ucdavis.edu> Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Reply-To: jsharp@isis.cs.du.edu (Joe Sharp) Organization: Nyx, Public Access Unix (sponsored by U. of Denver Math/CS dept.) Lines: 22 Disclaimer1: Nyx is a public access Unix system run by the University of Disclaimer2: Denver for the Denver community. The University has neither Disclaimer3: control over nor responsibility for the opinions of users. In article <9020@ucdavis.ucdavis.edu> benson@iris.eecs.ucdavis.EDU (Gregory D. Benson) writes: >Ok here is something I thought would be easy to change. >I want to add a message before the login prompt to something > >Type "guest" to enter system >login: > >I have found a file /etc/issue that allows me to do this >for direct connect serial lines. But it doesn't work >for telnet sessions (which is really what I need). > >I realize that I can change the prompt in /etc/gettydefs, >but this still won't change the login prompt for telnet >connections. > On most machines, you can do this by changing the inetd.conf file to call telnetd_script instead of telnetd. In this script file, you would cat out the message and then exec the telnetd program. This is what I do and it works. Joe Sharp jsharp@isis.cs.du.edu