<?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 can't kill the process in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379200#M14063</link>
    <description>I use RH8 system now , recently the user can't kill their owner process by kill -1 pid ,  I hv check that the path /proc , the owner of the process change to root so the owner can't kill it ( the original owner should be ordsge ) , could suggest how can I fix it ? thx&lt;BR /&gt;&lt;BR /&gt;dr-xr-xr-x    3 root     ACC             0 Sep 15 17:37 10794&lt;BR /&gt;&lt;BR /&gt;edp//proc&amp;gt; ps -ef |grep 10794&lt;BR /&gt;root      1037  1035  0 16:07 pts/46   00:00:00 login -- kao                 &lt;BR /&gt;ordsge       1065  1037  0 16:07 pts/46   00:00:00 /usr/local/orcale/pro /&lt;BR /&gt;root     13764  4977  0 17:43 pts/104  00:00:00 grep 10794</description>
    <pubDate>Wed, 15 Sep 2004 04:42:50 GMT</pubDate>
    <dc:creator>peterchu</dc:creator>
    <dc:date>2004-09-15T04:42:50Z</dc:date>
    <item>
      <title>can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379200#M14063</link>
      <description>I use RH8 system now , recently the user can't kill their owner process by kill -1 pid ,  I hv check that the path /proc , the owner of the process change to root so the owner can't kill it ( the original owner should be ordsge ) , could suggest how can I fix it ? thx&lt;BR /&gt;&lt;BR /&gt;dr-xr-xr-x    3 root     ACC             0 Sep 15 17:37 10794&lt;BR /&gt;&lt;BR /&gt;edp//proc&amp;gt; ps -ef |grep 10794&lt;BR /&gt;root      1037  1035  0 16:07 pts/46   00:00:00 login -- kao                 &lt;BR /&gt;ordsge       1065  1037  0 16:07 pts/46   00:00:00 /usr/local/orcale/pro /&lt;BR /&gt;root     13764  4977  0 17:43 pts/104  00:00:00 grep 10794</description>
      <pubDate>Wed, 15 Sep 2004 04:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379200#M14063</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-09-15T04:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379201#M14064</link>
      <description>Hellp peterchu,&lt;BR /&gt;&lt;BR /&gt;Kill the process using the -9 option&lt;BR /&gt;&lt;BR /&gt;kill -9 &lt;PID&gt;&lt;BR /&gt;&lt;BR /&gt;Eg:&lt;BR /&gt;#kill -9 7125&lt;BR /&gt;&lt;BR /&gt;this will kill the process with the specified process ID.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;&lt;/PID&gt;</description>
      <pubDate>Wed, 15 Sep 2004 05:18:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379201#M14064</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-15T05:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379202#M14065</link>
      <description>did you get any messages during kill command execution??&lt;BR /&gt;&lt;BR /&gt;By the by, while check with ps command and grep try to use as,&lt;BR /&gt;&lt;BR /&gt; ps -ef | grep -v grep | grep -w '10794'&lt;BR /&gt;&lt;BR /&gt; where,&lt;BR /&gt;&lt;BR /&gt; grep -v grep will remove grep process being create during ps check&lt;BR /&gt;&lt;BR /&gt; grep -w will get exact match there..&lt;BR /&gt;&lt;BR /&gt;but,&lt;BR /&gt;edp//proc&amp;gt; ps -ef |grep 10794&lt;BR /&gt;root 1037 1035 0 16:07 pts/46 00:00:00 login -- kao&lt;BR /&gt;ordsge 1065 1037 0 16:07 pts/46 00:00:00 /usr/local/orcale/pro /&lt;BR /&gt;root 13764 4977 0 17:43 pts/104 00:00:00 grep 10794&lt;BR /&gt;&lt;BR /&gt;Seems to be strange here.&lt;BR /&gt;&lt;BR /&gt;check environement variable or try to login again and check as,&lt;BR /&gt;&lt;BR /&gt; ps -ef | grep 10794 again.&lt;BR /&gt;&lt;BR /&gt; or as,&lt;BR /&gt;&lt;BR /&gt; ps -exf | grep 10794 &lt;BR /&gt;&lt;BR /&gt; to get more fields&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 05:43:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379202#M14065</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-15T05:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379203#M14066</link>
      <description>And,&lt;BR /&gt;root 13764 4977 0 17:43 pts/104 00:00:00 grep 10794 seems wrong here.&lt;BR /&gt;&lt;BR /&gt;How the normal user can kill super user there?!? it will give that error only first.&lt;BR /&gt;&lt;BR /&gt;I have tested on bash shell as,&lt;BR /&gt;&lt;BR /&gt; normal user&amp;gt; ps -ef | grep 10794&lt;BR /&gt;ordsge 1065 1037 0 16:07 pts/46 00:00:00 /usr/local/orcale/pro /&lt;BR /&gt;ordsge 13764 4977 0 17:43 pts/104 00:00:00 grep 10794&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the entries you have given is absolutly not got from execution on ps -ef |grep 10794 as,&lt;BR /&gt;&lt;BR /&gt;first line root 1037 1035 0 16:07 pts/46 00:00:00 login -- kao  contained no pattern as "10794"&lt;BR /&gt;&lt;BR /&gt;So try as normal user and super user.. now and give results to do analysis more</description>
      <pubDate>Wed, 15 Sep 2004 05:51:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379203#M14066</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-15T05:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379204#M14067</link>
      <description>when  kill -l the process , it  pop the not the owner ,&lt;BR /&gt;&lt;BR /&gt;even  kill -9  still can't kill it.</description>
      <pubDate>Wed, 15 Sep 2004 08:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379204#M14067</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-09-15T08:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379205#M14068</link>
      <description>Hello peterchu,&lt;BR /&gt;&lt;BR /&gt;Can you cut and paste the actual output from the system with "ps -aef |grep ordsge"   and the output of the kill command your are trying. so that we can clearly recognize the problem&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan</description>
      <pubDate>Wed, 15 Sep 2004 08:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379205#M14068</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-15T08:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379206#M14069</link>
      <description>If as root kill -9 will not kill the process or the parent process id is 1, the only way to make the process stop is by restarting the machine.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 15 Sep 2004 10:16:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379206#M14069</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-15T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379207#M14070</link>
      <description>thx replies,&lt;BR /&gt;&lt;BR /&gt;the below is today's process with similiar problem , the process owner changed to root:ACC, so the original owner (ordsge) can't kill it even "kill -9" , root sure can kill it , but user can't do it himself , could sggest what is reason why the owner changed ? thx&lt;BR /&gt;&lt;BR /&gt;#pwd&lt;BR /&gt;/proc&lt;BR /&gt;&lt;BR /&gt;# ll 10499&lt;BR /&gt;dr-xr-xr-x    3 root     ACC      0 Sep 16 09:24 10499&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#ps -aef |grep 10499&lt;BR /&gt;root     10499 10498  0 09:21 pts/50   00:00:00 login -- ordsge              &lt;BR /&gt;ordsge   10502 10499  0 09:21 pts/50   00:00:00 /usr/local/orcale/pro /&lt;BR /&gt;root     12348  9614  0 09:24 pts/35   00:00:00 grep 10499</description>
      <pubDate>Wed, 15 Sep 2004 20:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379207#M14070</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-09-15T20:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379208#M14071</link>
      <description>yep.&lt;BR /&gt;&lt;BR /&gt;I have reproduced your problem as,&lt;BR /&gt;&lt;BR /&gt;first terminal&amp;gt; Login as normal user &lt;ORDSGE&gt;&lt;BR /&gt;second terminal&amp;gt; root user; cd /proc/ &lt;BR /&gt;&lt;BR /&gt;Now on the normal user, try as,&lt;BR /&gt; $ su - root -c login localhost&lt;BR /&gt; &lt;BR /&gt;On the super user check now,&lt;BR /&gt;ps -u &lt;USERNAME&gt; (ps -u ordsge)&lt;BR /&gt;&lt;BR /&gt;It will give some process information's related to user there,&lt;BR /&gt;try now as,&lt;BR /&gt;ps -ef | grep &lt;PPID of="" ps="" -u="" ordsge=""&gt;&lt;BR /&gt;&lt;BR /&gt;As like your example,&lt;BR /&gt;# ll 10499&lt;BR /&gt;dr-xr-xr-x 3 root ACC 0 Sep 16 09:24 10499&lt;BR /&gt;&lt;BR /&gt;#ps -aef |grep 10499&lt;BR /&gt;root 10499 10498 0 09:21 pts/50 00:00:00 login -- ordsge&lt;BR /&gt;ordsge 10502 10499 0 09:21 pts/50 00:00:00 /usr/local/orcale/pro /&lt;BR /&gt;root 12348 9614 0 09:24 pts/35 00:00:00 grep 10499&lt;BR /&gt;&lt;BR /&gt;you will get it now. Where you are checking PPID 10499 for that. So at this moment we can not kill that process by the normal process. Because of step up it's owner ship turned to that owner so we can not do this.&lt;BR /&gt;&lt;BR /&gt;So it is not problem there. It is trying to execute the command in super user mode so that it's permission changed to stepup user and stepup before user there.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Muthu&lt;/PPID&gt;&lt;/USERNAME&gt;&lt;/ORDSGE&gt;</description>
      <pubDate>Thu, 16 Sep 2004 02:14:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379208#M14071</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-16T02:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379209#M14072</link>
      <description>very thx Muthukumar 's reply , even I am not totally understand it , the problem happened in my system recently but I don't know what system maint. work make this happen , could suggest the solution how can I prevent it so that the user can kill their own process ?thx</description>
      <pubDate>Thu, 16 Sep 2004 06:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379209#M14072</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-09-16T06:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379210#M14073</link>
      <description>Let me explain more clear.&lt;BR /&gt;&lt;BR /&gt;Say user's as,&lt;BR /&gt;&lt;BR /&gt; peter         --&amp;gt; normal user&lt;BR /&gt; root or test  --&amp;gt; super user or anyother user&lt;BR /&gt;&lt;BR /&gt; First session:&lt;BR /&gt;  telnet &lt;HOSTNAME&gt; with peter&lt;BR /&gt;&lt;BR /&gt; Second session:&lt;BR /&gt;  telnet &lt;HOSTNAME&gt; with peter&lt;BR /&gt;&lt;BR /&gt; If you put ps -u peter&lt;BR /&gt; It will contain  3 process as,&lt;BR /&gt;  1 for first session login process id&lt;BR /&gt;  1 for second session login process id&lt;BR /&gt;  1 for ps command&lt;BR /&gt;&lt;BR /&gt; Now, on the second session, you are doing step up login as,&lt;BR /&gt;&lt;BR /&gt;  login localhost with root or anyuser&lt;BR /&gt;  su&lt;BR /&gt;  telnetd / ssh / rlogin (any login service)&lt;BR /&gt;&lt;BR /&gt; second session &amp;gt; $ su - test or root&lt;BR /&gt;&lt;BR /&gt; Now if you check ps as,&lt;BR /&gt;&lt;BR /&gt;  ps -u peter&lt;BR /&gt;  It will contain same process there as like before.&lt;BR /&gt;&lt;BR /&gt;  If you try to execute as,&lt;BR /&gt;&lt;BR /&gt;  ps -ef | grep 'process id of first shell'&lt;BR /&gt;  ps -ef | grep 'process id of second shell'&lt;BR /&gt;&lt;BR /&gt;  It will show that the process owner as root or test there by taking child process of previous shell pid there.&lt;BR /&gt;&lt;BR /&gt; We can kill the process with the newly changed login user only. As usual root user can not kill any process there.&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Thu, 16 Sep 2004 08:53:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379210#M14073</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-16T08:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: can't kill the process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379211#M14074</link>
      <description>By explaing better more clearly,&lt;BR /&gt;&lt;BR /&gt;  IF you try to step up your login from one user to another user then that login process will use the previous user's shell process id as their parent process id, so that the new process will be having the permission to kill that process. And parent process id permission will be with the previous user.&lt;BR /&gt;&lt;BR /&gt;   peter -----&amp;gt; test&lt;BR /&gt;&lt;BR /&gt;   pid=1089     pid=1200&lt;BR /&gt;   ppid=1060    ppid=1089&lt;BR /&gt;   user=peter   user=test&lt;BR /&gt;&lt;BR /&gt;   So that 1200 process can not be kill by user peter there. The permission of process id on /proc filesystem will as,&lt;BR /&gt;&lt;BR /&gt;     &lt;NEWUSER&gt; &lt;OLDUSER&gt;&lt;BR /&gt;&lt;BR /&gt;   I hope you may clear now little more.&lt;BR /&gt;&lt;/OLDUSER&gt;&lt;/NEWUSER&gt;</description>
      <pubDate>Thu, 16 Sep 2004 09:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/can-t-kill-the-process/m-p/3379211#M14074</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-16T09:06:54Z</dc:date>
    </item>
  </channel>
</rss>

