[comp.unix.aux] How do you change the A/UX's login message?

buzz@phoenix.Princeton.EDU (Mahboud Zabetian) (04/06/88)

I have changed /etc/gettydefs, so that the login message would not be "Apple
Computers  A/UX".  It works fine when you use the console or a modem to dial in
to the system, but when you use telnet, you still get the Apple message.  I
presume that there is another gettydefs file for telnet, but I can't find it.
I tried asking around, but there aren't any Sys V people around here.

Does anyone know what file I have to edit?  Thanks.
-- 
Mahboud Zabetian	buzz@phoenix.princeton.edu	      (609) 520-1271
183 Little Hall	    root@faux-pas.princeton.edu (A/UX!)    Princeton U. NJ 08544
<<<THIS SPACE FOR RENT>>>(Was: Need a soon-to-graduate hard/soft-ware engineer?)
<<<                   >>>>>>  ( But I'll still consider good offers though :-)

jackie@Apple.COM (Hernan'Jackie' Macapanpan) (04/07/88)

In article <2404@phoenix.Princeton.EDU>, buzz@phoenix.Princeton.EDU (Mahboud Zabetian) writes:
> I have changed /etc/gettydefs, so that the login message would not be "Apple
> Computers  A/UX".  It works fine when you use the console or a modem to dial in
> to the system, but when you use telnet, you still get the Apple message.  I
> presume that there is another gettydefs file for telnet, but I can't find it.
> I tried asking around, but there aren't any Sys V people around here.

	Changing the telnet login prompt is not straight forward as it is
	actually part of the "in.telnetd" daemon code; it is hard-coded.

	If you're familiar with adb, the address of the login prompt string
	is 0x400e3c. A word of caution - Make sure you replace the login
	prompt string with a string of the same length (same number of
	characters). Otherwise, strange things might happen.

	Hope this helps.