home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10566 < prev    next >
Encoding:
Text File  |  1992-08-31  |  2.1 KB  |  44 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!cbnewsl!bkb
  3. From: bkb@cbnewsl.cb.att.com (brian.bebeau)
  4. Subject: Re: Login Message
  5. Organization: AT&T
  6. Date: Mon, 31 Aug 1992 16:47:09 GMT
  7. Message-ID: <1992Aug31.164709.25697@cbnewsl.cb.att.com>
  8. References: <derry.714440956@milton> <1992Aug22.183748.1803@dlpinc00.rn.com> <1992Aug27.181110.19930@ssigate.ssinc.com>
  9. Lines: 33
  10.  
  11. In article <1992Aug27.181110.19930@ssigate.ssinc.com> msc@ssigate.ssinc.com (Michael S. Cross) writes:
  12. >It is written:
  13. >>>Is there any way to edit the login screen on a Unix system?
  14. >>>I've never seen it done, nor have I found it mentioned.  Just
  15. >>>curious...  :-)  Derry
  16. >>
  17. >>In SVR3 (at least ISC's 3.0), it's in /etc/issue.
  18. >
  19. >In most AT&T software the initial login prompt for tty ports is in
  20. >/etc/gettydefs.
  21. >
  22. Actually, everybody who's responded to this is right. It depends on what
  23. the original poster meant by "login screen". The actual login prompt
  24. ("login:" or "Please login:" or whatever) is generally found at the end
  25. of the entry in /etc/gettydefs (all this is for SysV mind you). 
  26. *Some* versions of Unix allow for an /etc/issue file. This is a flat ASCII
  27. file with your own message. It's displayed *before* the login prompt.
  28. Our product uses this as a proprietary warning message. It's usually
  29. in the getty code within an ifdef, and the ifdef is hardly ever
  30. defined when getty is compiled. You can try to make the file and if
  31. it prints something out, you can use that. If it doesn't print anything
  32. then the define wasn't defined when compiled and you can't use it.
  33. The message-of-the-day (/etc/motd) is displayed *after* login. There's
  34. usually a line in /etc/profile that says "cat /etc/motd". 
  35.  
  36. So it depends on what the original poster wanted, the login prompt,
  37. a message before the login, or a message after the login.
  38.  
  39. -- 
  40. =====================================================================
  41. Brian Bebeau            Interactive Systems at AT&T-Columbus
  42. brian@cblph.att.com   or   bkb@cbnewsl.att.com
  43. =====================================================================
  44.