SUMMARY: Why doesn't telnetd pay attention to /gettydefs?

From: <Hugh.Pritchard_at_DC.gov>
Date: Wed, 19 Sep 2001 11:34:01 -0400

Sheila Hollenbaugh and Alan Davis provided the answer: telnetd pays
attention to a line in /etc/gettydefs identified "default". No default
entry in /etc/gettydefs, then telnetd uses its hard-coded string.
Thanks again.

                Hugh
_______________________________________________________________________
   Hugh Pritchard (Tier Technologies), 202-724-4690
   D.C. Ofc of Corporation Counsel, Child Support Enforcement Division
   441 4th St NW, Suite 550, Washington, DC 20001
   mailto:Hugh.Pritchard_at_DC.gov

-----Original Message-----
From: Hugh.Pritchard_at_DC.gov [mailto:Hugh.Pritchard_at_DC.gov]
Sent: Wednesday, September 19, 2001 8:40 AM
To: tru64-unix-managers_at_ornl.gov
Subject: Why doesn't telnetd pay attention to /gettydefs?

The man page for telnetd(8) says, "By default, the telnetd daemon starts
the login dialog using the login string specified in the message field
of the /etc/gettydefs file." This does not seem to be the case.

I'm trying to stop the name of the OS (Digital Unix) from appearing in
the telnet login prompt. I modified any line in /etc/gettydefs which
had a %v (version of the OS). Even after reboot, people coming in
through telnet (which is most people) still get presented with the OS
version as part of the login string.

I did a strings on telnetd. I saw /etc/iptos, /etc/issue.net, and
/etc/issue. No /etc/gettydefs. I did see a hard-coded login string,
including the words "Digital Unix".

So does the man page lie; or have I missed something, please?

                Hugh
_______________________________________________________________________
   Hugh Pritchard (Tier Technologies), 202-724-4690
   D.C. Ofc of Corporation Counsel, Child Support Enforcement Division
   441 4th St NW, Suite 550, Washington, DC 20001
   mailto:Hugh.Pritchard_at_DC.gov
Received on Wed Sep 19 2001 - 15:36:15 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT