From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,13a3034eeb512dbc X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,13a3034eeb512dbc X-Google-Attributes: gidfee84,public From: gelinas@bismuth.zk3.dec.com (Mark Gelinas) Subject: Re: /etc/issue? Date: 1997/10/07 Message-ID: #1/1 X-Deja-AN: 278516407 Sender: gelinas@bismuth.zk3.dec.com References: <34396F50.41C6@gsfc.nasa.gov> Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 In article <34396F50.41C6@gsfc.nasa.gov> David Alban writes: > In some unixes the file /etc/issue is displayed after telnet and ftp > connections are made but before the user logs in. I have an Alpha > running "OSF1 V3.2". I have created an /etc/issue file, but it seems to > be ignored. Can anyone tell me how to display a message (you know like, > "If you're not supposed to log in, and you do, you'll begin to itch > uncontrollably" :-) to users who have connected and are about to log in > or ftp in? Well, I checked and found the following: man issue - works on terminals spawned from /etc/inittab, read by getty daemon (usually LAT terminals, not telnet connections) man issue.net - works on terminals opened by telnetd, read by telnetd man gettydefs - a message < 79 characters can be output to a defined terminal man telnetd - quote from man page: "By default, the telnetd daemon starts the login dialog using the login string specified in the message field of the /etc/gettydefs file. If an /etc/issue.net file present, telnetd reads the file and writes its contents over a new telnet connection prior to starting the login dialog. If an /etc/issue file is present, but not a /etc/issue.net file, telnetd reads that file and writes its contents over a new telnet connection instead." The last line appears to be in error, as it conflicts with the descriptions from the issue(4) and issue.net(4) name pages. man ftpd - no information found on setting messages for the ftp service To sum up - change the file name from issue to issue.net, and telnet should get a message now. MarkG-- Mark Gelinas Digital Equipment Corporation EMail: gelinas@zk3.dec.com 110 Spit Brook Road, ZKO3-3/V08 Phone: +1 (603) 884-1511 Nashua, NH 03062-2698 USA