<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sendmail toolkit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930097#M111471</link>
    <description>hey Shannon,&lt;BR /&gt;I hope you are still reading this post. &lt;BR /&gt;&lt;BR /&gt;Can you tell me more about what happened to you and your hacker?&lt;BR /&gt;And I agree about permissions .. I have had problems with that in the past and it is not good. Good thing it was a test box.&lt;BR /&gt;&lt;BR /&gt;~Richard</description>
    <pubDate>Wed, 19 Mar 2003 23:03:16 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2003-03-19T23:03:16Z</dc:date>
    <item>
      <title>sendmail toolkit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930091#M111465</link>
      <description>I turned sendmail off because there was a vonerablility awhile back and I never turned it back on because I didn't use it.  Now I have a program that uses sendmail and dies when it can't send mail.  I can not get sendmail to start.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail start&lt;BR /&gt;/etc/mail/sendmail.cf: line 662: fileclass: cannot open /etc/mail/sendmail.cw: W&lt;BR /&gt;orld writable directory&lt;BR /&gt;WARNING: Group writable directory /var&lt;BR /&gt;451 /etc/mail/sendmail.cf: line 662: fileclass: cannot open /etc/mail/sendmail.c&lt;BR /&gt;w: World writable directory&lt;BR /&gt;# ls -ld /etc/mail&lt;BR /&gt;dr-xr-xr-x   2 bin        bin           1024 Mar 18 12:19 /etc/mail&lt;BR /&gt;# ls -la /etc/mail/sendmail.c*&lt;BR /&gt;-r--r--r--   1 bin        bin          86837 May 30  2001 /etc/mail/sendmail.cf&lt;BR /&gt;-rw-rw-rw-   1 bin        bin            710 Feb 20  2002 /etc/mail/sendmail.cw&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I played with chmod for a while with no results.</description>
      <pubDate>Tue, 18 Mar 2003 19:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930091#M111465</guid>
      <dc:creator>Beth Weller</dc:creator>
      <dc:date>2003-03-18T19:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail toolkit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930092#M111466</link>
      <description>Hi beth first of all I suggest patching up your sendmail for the latest Vulnerability.  &lt;BR /&gt;Here is the link &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdd549c196a4bd71190080090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdd549c196a4bd71190080090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;use sendmail -bs to see what version you are running. &lt;BR /&gt;&lt;BR /&gt;If you are running 8.8.3 you will have to upgrade your sendmail to 8.11.1&lt;BR /&gt;From:&lt;BR /&gt;&lt;A href="http://www.software.hp.com/ISS_products_list.html" target="_blank"&gt;http://www.software.hp.com/ISS_products_list.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And then apply the patch. &lt;BR /&gt;From there go to /usr/newconfig/etc/mail/cf/cf/&lt;BR /&gt;&lt;BR /&gt;and run&lt;BR /&gt;./gen_cf&lt;BR /&gt;you can choose the default sendmail by choosing option 2.&lt;BR /&gt;&lt;BR /&gt;That will create a sendmail.cf.gen ..&lt;BR /&gt;move that to /etc/mail/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;and you should be able to start sendmail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2003 19:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930092#M111466</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2003-03-18T19:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail toolkit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930093#M111467</link>
      <description>The errors are very specific, and should be corrected by following the error returned by trying to start up sendmail.&lt;BR /&gt;&lt;BR /&gt;First, &lt;BR /&gt;&lt;BR /&gt;WARNING: Group writeable directory /var&lt;BR /&gt;&lt;BR /&gt;% chmod 555 /var&lt;BR /&gt;&lt;BR /&gt;Next,&lt;BR /&gt;&lt;BR /&gt;451 /etc/mail/sendmail.cf line 662: fileclass: cannot open /etc/mail/sendmail.cw:World writable directory&lt;BR /&gt;&lt;BR /&gt;% chmod 555 /etc/mail&lt;BR /&gt;&lt;BR /&gt;Next, your permissions on /etc/mail/sendmail.cw will also cause an error.  &lt;BR /&gt;&lt;BR /&gt;% chmod 444 /etc/mail/sendmail.cw&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Obviously, someone has made modifications to this system which will have grave security issues.&lt;BR /&gt;&lt;BR /&gt;Default permissions on both /var and /etc/mail are 555, and are now both set to 777.  If these two directories were changed to world writable, then Im sure that more was changed as well.&lt;BR /&gt;&lt;BR /&gt;If this system is NOT behind a firewall and will NOT be sending mail anywhere outside of the local network, then feel free to use it by fixing the errors in the above method.&lt;BR /&gt;&lt;BR /&gt;However, if this system will connect anywhere of the lan, I would recommend you re-install the OS and install a Bastion tool or Bastile kit to reduce security risks.  &lt;BR /&gt;&lt;BR /&gt;It will literally take a malicous person minutes to gain root access on a system where permissions are open on critical files and directories.  Of course they have to find you and gain access.  That being said I would not want to gamble that they will take their time in finding you.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Shannon Petry</description>
      <pubDate>Tue, 18 Mar 2003 19:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930093#M111467</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-03-18T19:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail toolkit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930094#M111468</link>
      <description>oh .. Here are my premissions for the directions you have in question ..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;LVADM01&gt; /&amp;gt; ll -d /var&lt;BR /&gt;dr-xr-xr-x  21 bin        bin           1024 Feb 10  2001 /var&lt;BR /&gt;&lt;LVADM01&gt; /&amp;gt; ll -d /etc&lt;BR /&gt;dr-xr-xr-x  27 bin        bin           7168 Mar 18 02:29 /etc&lt;BR /&gt;&lt;LVADM01&gt; /&amp;gt; cd /etc/ &lt;BR /&gt;&lt;LVADM01&gt; /etc&amp;gt; ll -d /etc/mail&lt;BR /&gt;dr-xr-xr-x   3 bin        bin           1024 Mar 17 23:58 /etc/mail&lt;BR /&gt;&lt;LVADM01&gt; /etc&amp;gt; &lt;BR /&gt;&lt;LVADM01&gt; /etc&amp;gt; cd mail&lt;BR /&gt;&lt;LVADM01&gt; /etc/mail&amp;gt; ll sendmail*&lt;BR /&gt;-r--------   1 root       sys          94269 Dec 18 15:57 sendmail.cf&lt;BR /&gt;-r--------   1 root       sys          94270 Dec 17 12:23 sendmail.cf.look&lt;BR /&gt;-rw-rw-rw-   1 root       sys             81 Mar 12  2002 sendmail.cw&lt;BR /&gt;-rw-------   1 root       sys             81 Mar 12  2002 sendmail.cw.1&lt;BR /&gt;-rw-r--r--   1 root       mail            34 Mar 17 23:58 sendmail.pid&lt;BR /&gt;&lt;LVADM01&gt; /etc/mail&amp;gt; &lt;BR /&gt;&lt;BR /&gt;Richard&lt;/LVADM01&gt;&lt;/LVADM01&gt;&lt;/LVADM01&gt;&lt;/LVADM01&gt;&lt;/LVADM01&gt;&lt;/LVADM01&gt;&lt;/LVADM01&gt;&lt;/LVADM01&gt;</description>
      <pubDate>Tue, 18 Mar 2003 19:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930094#M111468</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2003-03-18T19:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail toolkit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930095#M111469</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;My guess is that you gave permissions to be helpfull, however it may be counter productive in this case.&lt;BR /&gt;&lt;BR /&gt;If critical directories like /var and /etc/mail have had permissions opened, then you nor I can have any idea what else has been modified.&lt;BR /&gt;&lt;BR /&gt;Have you ever been had by a hacker before?  I have, back in my early Linux days.  (RH 6.1, but the flaw was in all Linux versions of wu_ftpd).&lt;BR /&gt;&lt;BR /&gt;It's not fun, and caused alot more damage than me just re-installing an OS.  It cost credibility for my company, credibility for myself, days of data recovery and security tuning of other systems to ensure that they were not tampered with, and months of worry that it would happen again.&lt;BR /&gt;&lt;BR /&gt;On the plus side, I learned alot about forensics, and security.  But I dont recommend to anyone that they be forced to have the same crash courses I did.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 18 Mar 2003 20:08:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930095#M111469</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-03-18T20:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail toolkit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930096#M111470</link>
      <description>RESOLVED!&lt;BR /&gt;&lt;BR /&gt;Thank all of you for your quick response.&lt;BR /&gt;&lt;BR /&gt;Playing with permissions is very detrimental to my users.  Yes I am behind a firewall but I will research because you can never be too secure.&lt;BR /&gt;&lt;BR /&gt;I pounded out the sendmail.fw and the alias lines in sendmail.cw.  Then sendmail started.  I am going to get the upgrade that will hopefully fix it the right way.&lt;BR /&gt;&lt;BR /&gt;As for the toolkit problem it was because I didn't have my environment set up correctly (ORA_CLENT_LIB or ORACLE_TERM)&lt;BR /&gt;&lt;BR /&gt;I am going to install the sendmail patch you mentioned.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2003 13:53:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930096#M111470</guid>
      <dc:creator>Beth Weller</dc:creator>
      <dc:date>2003-03-19T13:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail toolkit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930097#M111471</link>
      <description>hey Shannon,&lt;BR /&gt;I hope you are still reading this post. &lt;BR /&gt;&lt;BR /&gt;Can you tell me more about what happened to you and your hacker?&lt;BR /&gt;And I agree about permissions .. I have had problems with that in the past and it is not good. Good thing it was a test box.&lt;BR /&gt;&lt;BR /&gt;~Richard</description>
      <pubDate>Wed, 19 Mar 2003 23:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-toolkit/m-p/2930097#M111471</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2003-03-19T23:03:16Z</dc:date>
    </item>
  </channel>
</rss>

