<?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: use root connection in a Shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965777#M416722</link>
    <description>Hi,&lt;BR /&gt;I would suggest use of sudo.&lt;BR /&gt;&lt;BR /&gt;Have a look at:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=99848" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=99848&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;</description>
    <pubDate>Thu, 09 Mar 2006 03:26:56 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-03-09T03:26:56Z</dc:date>
    <item>
      <title>use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965775#M416720</link>
      <description>I've develop a posix shell script that &lt;BR /&gt;kill -9 some users processes; the problem I face on is that I should allow some users who are not system administrator ( are not supposed to logon as root ) to run this script; then I think off using the "SU -" in the beginning of script the problem is that I don't know how to pass the password (unclearly so that no one could edit the script and pick the pass !) &lt;BR /&gt;Thank U&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Mar 2006 03:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965775#M416720</guid>
      <dc:creator>KOGOE</dc:creator>
      <dc:date>2006-03-09T03:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965776#M416721</link>
      <description>First, do not use -9 on processes. It is not good. I follow following.&lt;BR /&gt;&lt;BR /&gt;kill -15&lt;BR /&gt;kill -1&lt;BR /&gt;kill -2&lt;BR /&gt;kill -3&lt;BR /&gt;kill -11&lt;BR /&gt;and last kill -9&lt;BR /&gt;&lt;BR /&gt;Also, have you heard about sudo? It comes with all logging and perfect such taks.</description>
      <pubDate>Thu, 09 Mar 2006 03:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965776#M416721</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-03-09T03:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965777#M416722</link>
      <description>Hi,&lt;BR /&gt;I would suggest use of sudo.&lt;BR /&gt;&lt;BR /&gt;Have a look at:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=99848" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=99848&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;</description>
      <pubDate>Thu, 09 Mar 2006 03:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965777#M416722</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-09T03:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965778#M416723</link>
      <description>I tried to download sudo but the version I have found is for HP-UX 11i v1 PA-RISC;I tried to install it even but it aborted; &lt;BR /&gt;My system run is : HP-UX B.11.11 U 9000/800&lt;BR /&gt;could some one help find where to download the suitable depot of sudo for my system ?&lt;BR /&gt;Thank U&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Mar 2006 11:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965778#M416723</guid>
      <dc:creator>KOGOE</dc:creator>
      <dc:date>2006-03-09T11:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965779#M416724</link>
      <description>Seems to be the good depot file...&lt;BR /&gt;So perhaps the file you got is corrupted....&lt;BR /&gt;(happens with ftp sometimes...)&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 09 Mar 2006 11:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965779#M416724</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2006-03-09T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965780#M416725</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.11 is the same 11i v1.&lt;BR /&gt;&lt;BR /&gt;See "HP-UX Internet Express for HP-UX 11i v1" who have sudo for install.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Schimidt</description>
      <pubDate>Thu, 09 Mar 2006 11:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965780#M416725</guid>
      <dc:creator>Carlos Roberto Schimidt</dc:creator>
      <dc:date>2006-03-09T11:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965781#M416726</link>
      <description>I've download sudo as you indicate me, and I install it, but I have some error while configurating the sudoers file with the command visudo; I have define in the begining of sudoers file this lines :&lt;BR /&gt;&lt;BR /&gt;# Host alias specification&lt;BR /&gt;  Host_Alias    TRANS = 10.10.10.3&lt;BR /&gt;# User alias specification&lt;BR /&gt;  User_Alias    ETUDE = jb&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;  Cmnd_Alias    KILL = /usr/sbin/debloc&lt;BR /&gt;&lt;BR /&gt;But while exiting I have the following Warnings :&lt;BR /&gt;Warning: undeclared Host_Alias `TRANS' referenced near line 9&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 8 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Warning: undeclared Host_Alias `ETUDE' referenced near line 11&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 10 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Warning: undeclared Host_Alias `KILL' referenced near line 13&lt;BR /&gt;&lt;BR /&gt;What may I do ?&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 09 Mar 2006 16:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965781#M416726</guid>
      <dc:creator>KOGOE</dc:creator>
      <dc:date>2006-03-09T16:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: use root connection in a Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965782#M416727</link>
      <description>I've download sudo but I have some problem &lt;BR /&gt;with sudoers; I've edit sudoers by visudo and enter aliases :&lt;BR /&gt;line 8 # Host alias specification&lt;BR /&gt;line 9   Host_Alias       TRANS = 10.10.10.3&lt;BR /&gt;...&lt;BR /&gt;But the problem is that I've the following error :&lt;BR /&gt;Warning: undeclared Host_Alias `TRANS' referenced near line 9&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 8 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;I dont know the raison of that error; could someone help me please! &lt;BR /&gt;Thank U in advance</description>
      <pubDate>Fri, 10 Mar 2006 04:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/use-root-connection-in-a-shell-script/m-p/4965782#M416727</guid>
      <dc:creator>KOGOE</dc:creator>
      <dc:date>2006-03-10T04:09:56Z</dc:date>
    </item>
  </channel>
</rss>

