<?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: Securing script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944117#M795808</link>
    <description>Every file is executable (whether hidden or open and is really a executable) as long as it has execute perms for it.&lt;BR /&gt;&lt;BR /&gt;ll "file" to know perms set on it.</description>
    <pubDate>Fri, 02 Dec 2005 04:21:57 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-12-02T04:21:57Z</dc:date>
    <item>
      <title>Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944116#M795807</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;  I have written a script, but I dont want everyone to view and alter.  The problem I am facing like If i hide that script puting 'dot' infront of it, script is not executable.  How to excute the hidden scripts.</description>
      <pubDate>Fri, 02 Dec 2005 04:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944116#M795807</guid>
      <dc:creator>Yajuvendra Singh</dc:creator>
      <dc:date>2005-12-02T04:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944117#M795808</link>
      <description>Every file is executable (whether hidden or open and is really a executable) as long as it has execute perms for it.&lt;BR /&gt;&lt;BR /&gt;ll "file" to know perms set on it.</description>
      <pubDate>Fri, 02 Dec 2005 04:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944117#M795808</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-02T04:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944118#M795809</link>
      <description>Hi,&lt;BR /&gt;In unix there is no files called executables, like windows has .exe files. File Permissions are the one which will deffrentiate wether the file is executable or not. &lt;BR /&gt;U said that, u have made file hidden by inserting a '.' chatacter in the beginning of the filename. How ever this won't serve your purpose, as anyone gives an 'ls -a', will displays all hidden files in that direcory.&lt;BR /&gt;&lt;BR /&gt;It is better you can setappropriate file permissons to that script so, no user other than root can execute that file.&lt;BR /&gt;&lt;BR /&gt;some thing like $chmod 700 &lt;FILENAME&gt;.  this will exnure that only the owner of the file has full permissions, read/write and execute on that file.[exept root no other users in the system can read or change or execute the script]&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sunil&lt;/FILENAME&gt;</description>
      <pubDate>Sat, 03 Dec 2005 04:41:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944118#M795809</guid>
      <dc:creator>Sยภเl Kย๓คг</dc:creator>
      <dc:date>2005-12-03T04:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944119#M795810</link>
      <description>Shalom Yajuvendra Singh,&lt;BR /&gt;&lt;BR /&gt;After making a script.&lt;BR /&gt;&lt;BR /&gt;chmod 700 scriptname&lt;BR /&gt;&lt;BR /&gt;Now only I(root) can do anything to it or with it.&lt;BR /&gt;&lt;BR /&gt;If others need to execute it:&lt;BR /&gt;&lt;BR /&gt;chmod a+x scriptname&lt;BR /&gt;&lt;BR /&gt;Now everyone can execute it.&lt;BR /&gt;&lt;BR /&gt;Usually to execute it you need to be able to read it so use:&lt;BR /&gt;&lt;BR /&gt;chmod a+wx scriptname&lt;BR /&gt;&lt;BR /&gt;In that circumstance.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 03 Dec 2005 12:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944119#M795810</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-12-03T12:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944120#M795811</link>
      <description>The dot (as the first character) simply limits the ability to 'see' the file's existence using simple commands like ls or ll or echo *. But as mentioned, the -a option will find all files including those that start with a dot. Putting a dot in front does not remove execution capability, it just makes it slightly harder to find the script.&lt;BR /&gt; &lt;BR /&gt;I think you meant that you don't want users to change or read the file. That is two very different problems. Denying change to the file is easy: just remove the w for group and other, permission number = 755. The second limitation (read) is not possible to remove. If you make the file 755, users can run the script but not change it. But because scripts are interpreted, your shell must be able to read the script in order to run it. If you make the script 700 permission, only the owner can read, write and excute the script.</description>
      <pubDate>Sat, 03 Dec 2005 18:05:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944120#M795811</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-12-03T18:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944121#M795812</link>
      <description>If you really don't want someone (easily) to know the contents of a script - then the only other option you have is to convert it to C - and compile it....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Sun, 04 Dec 2005 11:42:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944121#M795812</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-04T11:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944122#M795813</link>
      <description>Hi Yajuvendra ,&lt;BR /&gt;&lt;BR /&gt;You need to make it executable by assigning the x flag , to owner , group or other , as you want it to be.&lt;BR /&gt;&lt;BR /&gt;# chmod +x .scriptname&lt;BR /&gt;&lt;BR /&gt;And also a best option to hide it , to write the same program in c code and compile it. You are done.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Mon, 05 Dec 2005 13:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944122#M795813</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-05T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944123#M795814</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;  Thanks for everyone for your valuable time sharing knowledge.  Really the solutions were very much helpfull to me.&lt;BR /&gt;&lt;BR /&gt;  Can please anyone tell me how to assign points and close the issue.&lt;BR /&gt;&lt;BR /&gt;  Thank you.</description>
      <pubDate>Wed, 07 Dec 2005 01:07:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944123#M795814</guid>
      <dc:creator>Yajuvendra Singh</dc:creator>
      <dc:date>2005-12-07T01:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944124#M795815</link>
      <description>You can change permission to 700 with chmod to the script or build a c file with system command to execute those shell script.&lt;BR /&gt;&lt;BR /&gt;To assign points, in the right end a drop down box with points there.. Assign those points and come down to this thread and click assign points.&lt;BR /&gt;&lt;BR /&gt;It will make it.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Dec 2005 01:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944124#M795815</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-07T01:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944125#M795816</link>
      <description>FAQ section to say about assigning points is as,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Wed, 07 Dec 2005 01:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944125#M795816</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-07T01:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Securing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944126#M795817</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;  I am thankfull to for providing me usefull information of securing a file(or script). &lt;BR /&gt;&lt;BR /&gt;  Especially few information were really good and imbibable.  &lt;BR /&gt;&lt;BR /&gt;  Thank you once again and I look forward for the same in future.</description>
      <pubDate>Sun, 18 Dec 2005 13:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securing-script/m-p/4944126#M795817</guid>
      <dc:creator>Yajuvendra Singh</dc:creator>
      <dc:date>2005-12-18T13:11:45Z</dc:date>
    </item>
  </channel>
</rss>

