SUMMARY: defining the login prompt on pty's

From: Dana Huggard <dana.huggard_at_home.com>
Date: Sun, 30 Sep 2001 13:39:53 -0700

My original post:


Hi,

In an effort to harden some systems, I wish to have the login prompt
that a user sees when telnetting into the system not display the
Operating System information. In the past I had used an option for
telnetd (-h), but it appears that this is not supported now. (Tru64
V5.x).

In the /etc/gettydefs I can edit the 'console' line, but I don't see a
'pty' entry there, and hesitate to add one.

Anyone know how I can do this?



The replies:

I recieved answers from Alan Davis and Thierry Faidherbe, as well as a
holiday auto-reply message from Martin Barrett.

It was pointed out to me that this has been asked and summarized so I
searched the archives and found good answers.

It appears to be undocumented, but putting a "default" line like in the
/etc/gettydefs file something like;

default###\r\n\n\t Unauthorized use prohibited \r\n\n\n\n#default

was exactly what I was looking for. I know I had done this in the past
on OSF1 V3.x but I assume there was a default entry in gettydefs on
those versions and there is no default on V4.x and V5.x.

Of Note: - On V4.x systems the default line had to be added as the
first entry.
          - On V5.x systems the default line did not need to be first.

Thanks.
-- 
Cheers,
Dana_H
Received on Sun Sep 30 2001 - 20:41:01 NZST

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