Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!ovaltine!cartan!brahms.Berkeley.EDU!ballou From: ballou@brahms.Berkeley.EDU.UUCP Newsgroups: comp.unix.wizards Subject: Re: gettydefs and the login prompt Message-ID: <1428@cartan.Berkeley.EDU> Date: Wed, 25-Nov-87 04:33:01 EST Article-I.D.: cartan.1428 Posted: Wed Nov 25 04:33:01 1987 Date-Received: Sat, 28-Nov-87 14:30:36 EST References: <4139@venera.isi.edu> <3516@xanth.UUCP> <32157@auc.UUCP> Sender: usenet@cartan.Berkeley.EDU Reply-To: ballou@brahms.Berkeley.EDU.UUCP (Kenneth R. Ballou) Distribution: na Organization: Math Dept. UCB Lines: 17 Keywords: unix, login, getty In article <32157@auc.UUCP> tab@auc.UUCP (0-Terrence Brannon ) writes: >The manual pages for sys V unix state that the prompt you get to >log in comes from a field in gettydefs. In customizing my 3B2, I >edited the login field of this file that originally said "login:" >I changed the prompt to something different, but this new prompt >will only show up on the first login attempt. If this login fails >for some reason, the prompt goes back to "login:" even though I >have edited out every occurence of this prompt in /etc/gettydefs. This is not surprising, since only the first login prompt is issued by /etc/getty. After getty reads the login name, it execs login with this name as an argument. If login does not get a satisfactory password, it then prompts for another login name with its "login: " prompt. Kenneth R. Ballou ARPA: ballou@brahms.berkeley.edu Department of Mathematics UUCP: ...!ucbvax!brahms!ballou University of California Berkeley, California 94720