mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* a login question
@ 2003-10-08  6:36 Bill J.Xu
  2003-10-08 13:31 ` Valdis.Kletnieks
  0 siblings, 1 reply; 2+ messages in thread
From: Bill J.Xu @ 2003-10-08  6:36 UTC (permalink / raw)
  To: linux-kernel

hello everyone,

When we telnet a linux box,we get the following messenge usually:

Redhat linux
abc login:

how to conceal the hostname information--abc? that is the welcome messenge as following:

Redhat linux
login:


THANKS
:)


Bill J.Xu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: a login question
  2003-10-08  6:36 a login question Bill J.Xu
@ 2003-10-08 13:31 ` Valdis.Kletnieks
  0 siblings, 0 replies; 2+ messages in thread
From: Valdis.Kletnieks @ 2003-10-08 13:31 UTC (permalink / raw)
  To: Bill J.Xu; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

On Wed, 08 Oct 2003 14:36:43 +0800, "Bill J.Xu" <xujz@neusoft.com>  said:

> how to conceal the hostname information--abc? that is the welcome messenge as
 following:

1) This is off-topic for a *kernel* list.

2) This is bogus security - they telnet'ed to the machine, they already *know*
its name/IP address.  You should leave the hostname in so legitimate users can
verify they've gotten to the *right* machine (what, you've never had a server farm
with dozens/hundreds of machines and typed 'telnet foo23' when you meant
'telnet foo24'?)

3) You should be using SSH instead.

4) /usr/sbin/telnetd invokes /bin/login which calls pam.  The hostname gets
printed after telnetd does /etc/issue.  Since I think it's a bad idea, that's
all the hints I'm giving today.  The answer can be found in the telnet, util-linux,
and/or PAM src.rpm's.  If you're going to mess with this, you should learn how
it works, and reading the source is a good way to do that...



[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-08 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08  6:36 a login question Bill J.Xu
2003-10-08 13:31 ` Valdis.Kletnieks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome