<?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: script issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518836#M366676</link>
    <description>"The script is trying to kill a PID file,own by root user"&lt;BR /&gt;&lt;BR /&gt;That would seem to imply that the PID that you want to kill is owned by root as well, at least from the sketchy infomation provided....&lt;BR /&gt;&lt;BR /&gt;what user id is running the script?&lt;BR /&gt;the exact kill command that is being attempted?&lt;BR /&gt;if the "PID file" ref'd above has a process ID in it, what does "ps -ef" show for the specified process?&lt;BR /&gt;&lt;BR /&gt;As noted before, non root users can only kill processes that they own...I'd start with finding out who owns what and go from there.</description>
    <pubDate>Thu, 22 Oct 2009 16:43:41 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2009-10-22T16:43:41Z</dc:date>
    <item>
      <title>script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518828#M366668</link>
      <description>Hi Admins,&lt;BR /&gt;&lt;BR /&gt;I need some help regarding script execution.&lt;BR /&gt;&lt;BR /&gt;we have a script which has got full permission wth normal user say 'test'.&lt;BR /&gt;when the test executes the script ,it throwing error..&lt;BR /&gt;./stop: kill: permission denied &lt;BR /&gt;&lt;BR /&gt;The script contains kill command&lt;BR /&gt;&lt;BR /&gt;I think user does not have permission to run kill command.&lt;BR /&gt;&lt;BR /&gt;How to solve this issue..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;himacs</description>
      <pubDate>Thu, 22 Oct 2009 03:07:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518828#M366668</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-10-22T03:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518829#M366669</link>
      <description>That is possible.  If you suspect that permissions are the issue, check the permissions of the 'kill' command and see if this user has permission.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The other, slightly more likely, possibility is that the script is trying to kill a process that was not started by this user.</description>
      <pubDate>Thu, 22 Oct 2009 03:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518829#M366669</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-10-22T03:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518830#M366670</link>
      <description>Hi Himacs,&lt;BR /&gt;&lt;BR /&gt;See what happens if you run that command (or script) manually from that User....if you still get same error message, then probably it is a permission issue.&lt;BR /&gt;&lt;BR /&gt;(It depends what is done/killed by the script. May be the process it is trying to kill requires root powers.)</description>
      <pubDate>Thu, 22 Oct 2009 03:19:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518830#M366670</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-10-22T03:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518831#M366671</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Give sudo nopasswd access to all user who is using this scirpt&lt;BR /&gt;&lt;BR /&gt;sudo nopasswd access to kill command&lt;BR /&gt;&lt;BR /&gt;nopasswd because when script will run then passwd will not ask.&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Thu, 22 Oct 2009 03:20:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518831#M366671</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-10-22T03:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518832#M366672</link>
      <description>HI Admins,&lt;BR /&gt;&lt;BR /&gt;Thanx for th reply.&lt;BR /&gt;&lt;BR /&gt;The script is trying to kill a PID file,own by root user.I have set ACL permission for that user with PID file.&lt;BR /&gt;Waiting for user's update..&lt;BR /&gt;&lt;BR /&gt;Whether i have to give ACL for group also,wher that user belongs..?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;himacs</description>
      <pubDate>Thu, 22 Oct 2009 03:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518832#M366672</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-10-22T03:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518833#M366673</link>
      <description>Hi Admins,&lt;BR /&gt;&lt;BR /&gt;ACl didnot work..&lt;BR /&gt;&lt;BR /&gt;Need i change the mill permission for that user ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs</description>
      <pubDate>Thu, 22 Oct 2009 03:44:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518833#M366673</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-10-22T03:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518834#M366674</link>
      <description>&amp;gt;Whether I have to give ACL for group also, where that user belongs?&lt;BR /&gt;&lt;BR /&gt;Is your problem reading the PID file or killing the process?&lt;BR /&gt;&lt;BR /&gt;ACLs will allow you to read the file but not kill PIDs.  The error looks like the latter.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Oct 2009 08:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518834#M366674</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-22T08:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518835#M366675</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; we have a script which has got full permission wth normal user say 'test'.&lt;BR /&gt;when the test executes the script ,it throwing error.../stop: kill: permission denied &lt;BR /&gt;&lt;BR /&gt;You might want to verify that your script is finding _correctly_ what it wants to kill.  It is possible that your script is trying to kill a process that it shouldn't and then fortunately for you the kernel denies that.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 22 Oct 2009 11:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518835#M366675</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-10-22T11:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: script issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518836#M366676</link>
      <description>"The script is trying to kill a PID file,own by root user"&lt;BR /&gt;&lt;BR /&gt;That would seem to imply that the PID that you want to kill is owned by root as well, at least from the sketchy infomation provided....&lt;BR /&gt;&lt;BR /&gt;what user id is running the script?&lt;BR /&gt;the exact kill command that is being attempted?&lt;BR /&gt;if the "PID file" ref'd above has a process ID in it, what does "ps -ef" show for the specified process?&lt;BR /&gt;&lt;BR /&gt;As noted before, non root users can only kill processes that they own...I'd start with finding out who owns what and go from there.</description>
      <pubDate>Thu, 22 Oct 2009 16:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-issue/m-p/4518836#M366676</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-10-22T16:43:41Z</dc:date>
    </item>
  </channel>
</rss>

