<?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: How to trace script running bu root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202895#M324964</link>
    <description>I guess it is hard to give somebody root access and then trying to dis-allow something ...&lt;BR /&gt;&lt;BR /&gt;IMHO even if you log the actions to a file somewhere, if somebody really want to do anything, he can also delete these entries from the logs, because (via the script) he is still root ...&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 22 May 2008 12:31:32 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2008-05-22T12:31:32Z</dc:date>
    <item>
      <title>How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202889#M324958</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I give sudo authorization for one script to some users. (This script is executed by sudo as root).  &lt;BR /&gt;&lt;BR /&gt;Example: sudo /su22/script/myscript.sh&lt;BR /&gt;&lt;BR /&gt;For the moment users can modify this script and could introduce a forbiden command. &lt;BR /&gt;It's impossible for me to avoid this. &lt;BR /&gt;&lt;BR /&gt;How to obtain a trace of all sub commands called inside this script. &lt;BR /&gt;&lt;BR /&gt;Thanks for any propositions&lt;BR /&gt;Regards&lt;BR /&gt;Den</description>
      <pubDate>Thu, 22 May 2008 12:02:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202889#M324958</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-05-22T12:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202890#M324959</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;tusc can do it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.9/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.9/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/trace-1.6/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/trace-1.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The former is much more modern.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 22 May 2008 12:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202890#M324959</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-05-22T12:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202891#M324960</link>
      <description>Is there any tusc equivalent but for AIX ?&lt;BR /&gt;&lt;BR /&gt;Regards Den</description>
      <pubDate>Thu, 22 May 2008 12:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202891#M324960</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-05-22T12:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202892#M324961</link>
      <description>Hi Den,&lt;BR /&gt;&lt;BR /&gt;Try truss on AIX.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 22 May 2008 12:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202892#M324961</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2008-05-22T12:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202893#M324962</link>
      <description>Maybe it is easier to watch the script instead of a trace of this script? &lt;BR /&gt;&lt;BR /&gt;(I have something like "diff" in mind ...)&lt;BR /&gt;</description>
      <pubDate>Thu, 22 May 2008 12:23:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202893#M324962</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-05-22T12:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202894#M324963</link>
      <description>Hi Torsten&lt;BR /&gt;&lt;BR /&gt;read the script is not good the user can change it, run and roll back to the previsous version... &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Den</description>
      <pubDate>Thu, 22 May 2008 12:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202894#M324963</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-05-22T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202895#M324964</link>
      <description>I guess it is hard to give somebody root access and then trying to dis-allow something ...&lt;BR /&gt;&lt;BR /&gt;IMHO even if you log the actions to a file somewhere, if somebody really want to do anything, he can also delete these entries from the logs, because (via the script) he is still root ...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 May 2008 12:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202895#M324964</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-05-22T12:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202896#M324965</link>
      <description>&amp;gt;&amp;gt;For the moment users can modify this script &amp;gt;&amp;gt;and could introduce a forbiden command.&lt;BR /&gt;&amp;gt;&amp;gt;It's impossible for me to avoid this. &lt;BR /&gt;&lt;BR /&gt;Why is that?  If you have given access via sudo, then permissions for the script should be set to -r-x------ (500) with root as the owner  I see no reason that users should be able to modify this script, unless there is something you're not telling us. &lt;BR /&gt;&lt;BR /&gt;Anything you do in this script could potentially be changed by users, so the point is really moot.</description>
      <pubDate>Thu, 22 May 2008 13:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202896#M324965</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-05-22T13:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202897#M324966</link>
      <description>Hi Patrick &lt;BR /&gt;&lt;BR /&gt;;-) Of course it's possible to do this but i can't because this script is altered by Oracle fix pack installation. My Problem is that i can accept Oracle modification but i need to avoid all personal root commands hidden in the myscript.sh !&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Den</description>
      <pubDate>Thu, 22 May 2008 15:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202897#M324966</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-05-22T15:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202898#M324967</link>
      <description>Is it really necessary to be root in order to modify / run the script?&lt;BR /&gt;&lt;BR /&gt;If it is, you are lost.&lt;BR /&gt;The user can easily prepare a modified shell, add another root user ... everything, because he is root. If you have no idea, you can't know what to looking for.&lt;BR /&gt;&lt;BR /&gt;Trust your users - that's it.</description>
      <pubDate>Thu, 22 May 2008 18:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202898#M324967</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-05-22T18:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to trace script running bu root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202899#M324968</link>
      <description>Hi,&lt;BR /&gt;just one sugestion:&lt;BR /&gt;- U can make a small script, that check  the if the script was modif. in the last zxz minutes, and if yes then copy (I mean replace) the modif. one with your original one - and of course, create yourself a log, to check it when U have time;&lt;BR /&gt;- create your own policy to use this script, and the rest is history, I think...&lt;BR /&gt;&lt;BR /&gt;eddy</description>
      <pubDate>Mon, 07 Jul 2008 12:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-trace-script-running-bu-root/m-p/4202899#M324968</guid>
      <dc:creator>Eduard Constantinescu</dc:creator>
      <dc:date>2008-07-07T12:06:23Z</dc:date>
    </item>
  </channel>
</rss>

