<?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: kill in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111519#M313359</link>
    <description>BTW - it is a bad idea to kill -9 the sendmail daemon pid.....&lt;BR /&gt;&lt;BR /&gt;Just my 2 cents (and I'm pretty sure others)....Geoff</description>
    <pubDate>Tue, 04 Dec 2007 19:36:40 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2007-12-04T19:36:40Z</dc:date>
    <item>
      <title>kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111512#M313352</link>
      <description>Any idea how I can allow a user to kill only sendmail processes using sudo?&lt;BR /&gt;I installed sudo but dont want to give him the access to kill any root process. Only sendmail.</description>
      <pubDate>Tue, 04 Dec 2007 18:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111512#M313352</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2007-12-04T18:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111513#M313353</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Use 'sbin/init.d/sendmail stop' or use 'killsm'.  See the manpages for 'killsm(1M)'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 04 Dec 2007 18:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111513#M313353</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-04T18:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111514#M313354</link>
      <description>if it is only for the hanging jops and not sendmail it self:&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;ps -ef |grep sendmail |grep -v "accepting"| awk '{ print $2 } ' |while read line&lt;BR /&gt;do&lt;BR /&gt;sudo kill $line&lt;BR /&gt;done&lt;BR /&gt;asuming you sendmail deamon runs as:&lt;BR /&gt; root  1092     1  0 10:29:52 ?         0:00 sendmail: accepting connections&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 18:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111514#M313354</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2007-12-04T18:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111515#M313355</link>
      <description>wriet a script like &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;kill -9 `ps -ef | grep sendmail | grep -v grep`&lt;BR /&gt;&lt;BR /&gt;and use sudo for this script.&lt;BR /&gt;&lt;BR /&gt;Hasan.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 18:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111515#M313355</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2007-12-04T18:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111516#M313356</link>
      <description>wriet a script like &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;kill -9 `ps -ef | grep sendmail | grep -v grep | awk '{print $2}'`&lt;BR /&gt;&lt;BR /&gt;and use sudo for this script.&lt;BR /&gt;&lt;BR /&gt;Hasan.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 18:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111516#M313356</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2007-12-04T18:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111517#M313357</link>
      <description>How about giving a user the ability to run sendmail as root? See "Runas_Spec" parm in the /etc/sudoers file viz.,&lt;BR /&gt;&lt;BR /&gt;&lt;USERNAME&gt; &lt;HOSTNAME&gt; = (root) /usr/sbin/sendmail&lt;BR /&gt;&lt;BR /&gt;the above would give the named user the ability to run sendmail as superuser.&lt;/HOSTNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 04 Dec 2007 18:59:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111517#M313357</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-12-04T18:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111518#M313358</link>
      <description>Better yet - don't run sendmail as root!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-91064/ch02s07.html" target="_blank"&gt;http://docs.hp.com/en/B2355-91064/ch02s07.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And others...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 04 Dec 2007 19:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111518#M313358</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-12-04T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111519#M313359</link>
      <description>BTW - it is a bad idea to kill -9 the sendmail daemon pid.....&lt;BR /&gt;&lt;BR /&gt;Just my 2 cents (and I'm pretty sure others)....Geoff</description>
      <pubDate>Tue, 04 Dec 2007 19:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111519#M313359</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-12-04T19:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111520#M313360</link>
      <description>I like JRF's suggestion since the kill "-k" command line option to sendmail has been deprecated. Earlier one could "sendmail -bk" to kill the daemon process which has now been replaced by killsm i.e.&lt;BR /&gt;&lt;BR /&gt;&lt;USERNAME&gt; &lt;HOSTNAME&gt; = (root) /usr/sbin/killsm&lt;/HOSTNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 04 Dec 2007 20:30:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4111520#M313360</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-12-04T20:30:07Z</dc:date>
    </item>
  </channel>
</rss>

