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: pedwards@cs.wright.edu (Phil Edwards) Subject: Re: /etc/issue? Date: 1997/10/07 Message-ID: <61e030$fcd$1@alpha.wright.edu>#1/1 X-Deja-AN: 278491107 References: <34396F50.41C6@gsfc.nasa.gov> X-PGP-ID: 0x3A2E42E9 Followup-To: comp.unix.osf.osf1 Organization: $home X-Why-No-Archive: well, do /you/ think it's worth the diskspace? Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 [cc'd to poster] [followups slightly trimmed] David Alban wrote: [snip /etc/issue] + 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? dUnix doesn't pay attention to the /etc/issue file. I dunno about ftp, but for telnet, you can change the "login:" prompt given in /etc/gettydefs. Here's a snip from ours (nonindented): =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ default#B9600#B9600# %v(%h)\r\n\r\n Wright State University -- Unauthorized use prohibited \r\n \ \ \n\r#default console# B9600 HUPCL CS8 CLOCAL # B9600 SANE IXANY TAB3 CLOCAL #\r\n\r\n%v (%h) %t\r\n\r\n\rlogin: #console =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ When I telnet to one of these boxes (assuming telnetd can't determine a default USER env setting), I see this: =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Connected to gamma.cs.wright.edu. Escape character is '^]'. (gamma.cs.wright.edu) Wright State University -- Unauthorized use prohibited login: =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Luck++; /dev/phil => If you post a followup, please don't email a copy to me. I read news often enough that replying to things twice is annoying. But thanks.