<?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: Execute bit without read on a script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424749#M834</link>
    <description>Hi Gary,&lt;BR /&gt;&lt;BR /&gt;Think about installing "sudo" for those tasks (&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1)" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This way, you can made the script executable only by root, and&lt;BR /&gt;(in the sudo's config file) define which logins or groups can &lt;BR /&gt;run it. Then, put an alias in each user's .kshrc/.profile:&lt;BR /&gt;&lt;BR /&gt;alias myscript="/opt/sudo/bin/sudo /usr/local/bin/myscript"&lt;BR /&gt;&lt;BR /&gt;You can configure sudo to restrict the users from running *any&lt;BR /&gt;other* binary or script on yout system, not even a shell, &lt;BR /&gt;apart those configured in the sudo's config file.&lt;BR /&gt; &lt;BR /&gt;Read about sudo at &lt;A href="http://www.courtesan.com/sudo" target="_blank"&gt;http://www.courtesan.com/sudo&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
    <pubDate>Sat, 03 Jun 2000 08:13:50 GMT</pubDate>
    <dc:creator>Alvaro Fdez. Lago</dc:creator>
    <dc:date>2000-06-03T08:13:50Z</dc:date>
    <item>
      <title>Execute bit without read on a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424747#M832</link>
      <description>I am trying to allow all the members of a group to execute a script (ksh) without having the read bit set. I thought it was possible to set the execute bit only at the group level allowing users to execute the script but restricting read access. When the users run the script they receive a message unable to open file. Anyone know if it is possible to do this or of any work arounds?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jun 2000 20:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424747#M832</guid>
      <dc:creator>Gary A. Price</dc:creator>
      <dc:date>2000-06-02T20:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute bit without read on a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424748#M833</link>
      <description>I do not believe that this s posible.  The shell must be able to read the commands to parse the script, and the shell is owned by the user.  If you want users to be able to "do the job" without "seeing the job" then you will probably need to write it in C and compile it.</description>
      <pubDate>Fri, 02 Jun 2000 20:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424748#M833</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-06-02T20:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Execute bit without read on a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424749#M834</link>
      <description>Hi Gary,&lt;BR /&gt;&lt;BR /&gt;Think about installing "sudo" for those tasks (&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1)" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This way, you can made the script executable only by root, and&lt;BR /&gt;(in the sudo's config file) define which logins or groups can &lt;BR /&gt;run it. Then, put an alias in each user's .kshrc/.profile:&lt;BR /&gt;&lt;BR /&gt;alias myscript="/opt/sudo/bin/sudo /usr/local/bin/myscript"&lt;BR /&gt;&lt;BR /&gt;You can configure sudo to restrict the users from running *any&lt;BR /&gt;other* binary or script on yout system, not even a shell, &lt;BR /&gt;apart those configured in the sudo's config file.&lt;BR /&gt; &lt;BR /&gt;Read about sudo at &lt;A href="http://www.courtesan.com/sudo" target="_blank"&gt;http://www.courtesan.com/sudo&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Jun 2000 08:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424749#M834</guid>
      <dc:creator>Alvaro Fdez. Lago</dc:creator>
      <dc:date>2000-06-03T08:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Execute bit without read on a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424750#M835</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Give restricted SAM or RSAM a try. It allows a predefined set of users to execute a script by selecting the corresponding item from a SAM menu. In this way, you can give your group of users execute privileges without allowing read or write access by the same group of users.&lt;BR /&gt;&lt;BR /&gt;I have been using RSAM to give operators specific privileges to certain scripts for daily operations without giving them any read access into any of the script's internals.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim.</description>
      <pubDate>Sun, 04 Jun 2000 02:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-bit-without-read-on-a-script/m-p/2424750#M835</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2000-06-04T02:12:56Z</dc:date>
    </item>
  </channel>
</rss>

