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