Re: Sendmail banner & Network start output suppression

From: Brad Arlt (arlt_at_cpsc.ucalgary.ca)
Date: 07/16/03

  • Next message: David Gillett: "RE: Monitoring the network: Routers"
    Date: Wed, 16 Jul 2003 09:49:25 -0600
    To: Pessoft <pessoft@seznam.cz>
    
    

    On Wed, Jul 16, 2003 at 01:09:10PM +0200, Pessoft wrote:
    > 1) Exist any way how to disable, or change sendmail banner to not
    > show sendmail's version.

    In the .mc file:

    define(`confSMTP_LOGIN_MSG', `$j Sendmail 8.12.11/8.12.10; $b')

    in the .cf file:

    O SmtpGreetingMessage=$j Sendmail 8.12.11/8.12.10; $b

    > 2) When i'm starting network using service network start for
    > example, it writes some messages:
    > SIOCADDRT: File exists
    > eth0: blaaa blaaa
    > Are these error messages?
    > If they aren't exists any way how to redirect them to some log for example?
    > It is writen by ifup command, but when i redirect it using:
    > ifup eth0 >/dev/null or
    > ifup eth0 2>/dev/null
    > it makes no change

    I am not sure what is causing these error message, but this will work better
    to silence them:

    ifup eth0 >/dev/null 2>&1

    And they may be coming from the console and not stderr or stdout. So
    you can't silence them by redirecting output.

    On boot these messages should appear in dmesg (I think... maybe) if
    they are output on boot.
    -----------------------------------------------------------------------
       __o Bradley Arlt Security Team Lead
     _ \<_ arlt@cpsc.ucalgary.ca University Of Calgary
    (_)/(_) T minus 5 days to Peru Computer Science

    ---------------------------------------------------------------------------
    Evaluating SSL VPNs' Consider NEOTERIS, chosen as leader by top analysts!
    The Gartner Group just put Neoteris in the top of its Magic Quadrant,
    while InStat has confirmed Neoteris as the leader in marketshare.
         
    Find out why, and see how you can get plug-n-play secure remote access in
    about an hour, with no client, server changes, or ongoing maintenance.
              
    Visit us at: http://www.neoteris.com/promos/sf-6-9.htm
    ----------------------------------------------------------------------------


  • Next message: David Gillett: "RE: Monitoring the network: Routers"
    Loading