Re: a login question

Valdis.Kletnieks_at_vt.edu
Date: 10/08/03

  • Next message: LinuxTV.org CVS maintainer: "[PATCH 10/14] update dvb frontend drivers"
    To: "Bill J.Xu" <xujz@neusoft.com>
    Date:	Wed, 08 Oct 2003 09:31:21 -0400
    
    
    

    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...

    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: LinuxTV.org CVS maintainer: "[PATCH 10/14] update dvb frontend drivers"

    Relevant Pages

    • Re: ipw2100 wireless driver
      ... >> And btw, mails to hch@infradead.org bounce. ... > not for just about everyone else on the planet:) ... $ telnet pentafluge.infradead.org 25 ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Forcing an immediate reboot
      ... >>Get one of those powerstrips that you can telnet into and power cycle ... >If it has sysrq compiled in as root just do: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Does anyone still care about BSD ptys?
      ... > Only people who want to log-in from the network..... ... > you could force a re-write of all the stuff like telnet, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.0-test4-mm1 - kswap hogs cpu OO takes ages to start!
      ... X becomes unusable till all of them startup, although I can telnet and run top. ... Same thing run under 2.4.18 starts up in 3 minutes, X stays usable and kswapd never take more than 2% CPU. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)