<?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 Best location for sys admin scripts? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885633#M935490</link>
    <description>I'm currently setting up a new HPUX 11i system, decomissioning two other servers, my question is where ideally should our house applications and scripts reside?? We currently have them all under /usr, but is there a standard that says they should go elsewhere?</description>
    <pubDate>Mon, 20 Jan 2003 14:37:51 GMT</pubDate>
    <dc:creator>Russ Hancock_1</dc:creator>
    <dc:date>2003-01-20T14:37:51Z</dc:date>
    <item>
      <title>Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885633#M935490</link>
      <description>I'm currently setting up a new HPUX 11i system, decomissioning two other servers, my question is where ideally should our house applications and scripts reside?? We currently have them all under /usr, but is there a standard that says they should go elsewhere?</description>
      <pubDate>Mon, 20 Jan 2003 14:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885633#M935490</guid>
      <dc:creator>Russ Hancock_1</dc:creator>
      <dc:date>2003-01-20T14:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885634#M935491</link>
      <description>Russ,&lt;BR /&gt;&lt;BR /&gt;We put them in their own filesystem.  In our case, we call it /apps.  That way, a new install doesn't overwrite them (as with /usr/local/bin) - we just restore /apps.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 20 Jan 2003 14:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885634#M935491</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-01-20T14:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885635#M935492</link>
      <description>Hi there&lt;BR /&gt;&lt;BR /&gt;Usually most in house/ad-hoc programs are loaded under the /opt filesystem. Also you &lt;BR /&gt;should ensure that this filesystem is large enough for sufficient growth of your log files for these applications, I tend to make my /opt&lt;BR /&gt;filesystems 1.5 to 2.0GB in size.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Frank G.</description>
      <pubDate>Mon, 20 Jan 2003 14:43:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885635#M935492</guid>
      <dc:creator>fg_1</dc:creator>
      <dc:date>2003-01-20T14:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885636#M935493</link>
      <description>If theyre local scripts they should go under /usr/local but instead of /usr/local/bin (for system wide local scripts that all users can run) you could put them under something like /usr/local/admin (root only can access).&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jan 2003 14:44:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885636#M935493</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-01-20T14:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885637#M935494</link>
      <description>/usr/local/bin/subdirectory is where we keep all of our sysadmin scripts thsi is becasuse of 2 reasons &lt;BR /&gt;&lt;BR /&gt;a. easier to specify in the path &lt;BR /&gt;&lt;BR /&gt;b. the backups are taken with ignite , root fielsystems etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 20 Jan 2003 14:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885637#M935494</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2003-01-20T14:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885638#M935495</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have MC-ServiceGuard installed or you are planning, pls consider keep it in *shared* place!&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Mon, 20 Jan 2003 15:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885638#M935495</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-01-20T15:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885639#M935496</link>
      <description>As these is otional software I put them under&lt;BR /&gt;&lt;BR /&gt;/opt/sysadmin&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jan 2003 15:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885639#M935496</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2003-01-20T15:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885640#M935497</link>
      <description>Perhaps I'm old fashioned but.&lt;BR /&gt;&lt;BR /&gt;Sysadmin scripts are in.&lt;BR /&gt;&lt;BR /&gt;/usr/contrib/bin&lt;BR /&gt;&lt;BR /&gt;Permissions in general are 700.  That way when I decide users are allowed to use them, all I have to do is change permissions.&lt;BR /&gt;&lt;BR /&gt;Nobody but root can write to /usr/contrib/bin on our system.&lt;BR /&gt;&lt;BR /&gt;I'm a user right? root&lt;BR /&gt;I contributed the script right? &lt;BR /&gt;some of them came from this forum? cool&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Mon, 20 Jan 2003 15:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885640#M935497</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-20T15:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885641#M935498</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I like '/usr/local/' or '/usr/contrib/' for scripts used by root or scripts of general applicability.  For scripts specific to database support, my preference is in a directory like '$HOME/oracle/'.  For scripts specific to an application, I find a $HOME directory applicable.&lt;BR /&gt;&lt;BR /&gt;Aside from standard file permissions, I'd make sure, too, that you set the sticky bit of the directory holding the scripts such that only the script's owner has the right to delete.&lt;BR /&gt;&lt;BR /&gt;Most importantly, whatever you decide, be consistent.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 20 Jan 2003 16:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885641#M935498</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-01-20T16:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885642#M935499</link>
      <description>I agree with JRF.  Whatever the decision, stick to it, and make sure that everyone else knows that if a script is located elsewhere, it could well be moved/deleted.&lt;BR /&gt;&lt;BR /&gt;I'm in the unpleasant situation of having some systems with scripts in up to 10 (yes ten) different locations. (including /usr/local, /usr/contrib, /home and application directories).  What's worse is that some scripts from one location call scripts from others.  Ah the joys of progressive development.  Guess who's going to have to sort this out (eventually).</description>
      <pubDate>Mon, 20 Jan 2003 16:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885642#M935499</guid>
      <dc:creator>Nigel Green</dc:creator>
      <dc:date>2003-01-20T16:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885643#M935500</link>
      <description>Here we have gone a slightly different route, by creating a 1GB lvol called /operations on all Servers, with subdirectories for bin, etc, log, and other directories for common data.&lt;BR /&gt;&lt;BR /&gt;We found it better to create our own standard than try and re-organise the existing standards. It also gives is the ability to extend the filesystem without single-user mode, and protection of the OS lvols if scripts run over and fill up filesystems.&lt;BR /&gt;&lt;BR /&gt;As long as you define a standard and stick to it, and cater for the most likely maintenance / disaster scenarios, you should be fine.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Mon, 20 Jan 2003 16:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885643#M935500</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-01-20T16:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885644#M935501</link>
      <description>I usually try to keep "my" stuff (as opposed to HP's stuff) on separate volume groups so if I need to re-Ignite I don't automatically blow away all the non-HP stuff. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jan 2003 16:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885644#M935501</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-20T16:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885645#M935502</link>
      <description>All our "live" scripts on all our systems (HP, IBM, DG, RedHat) are in /usr/scripts. This standard started back in the day when this was a DG-only shop (before my time in IT, let alone here) and was done to avoid the unpleasantness found in losing them during an upgrade when /user/local/bin got overlayed.&lt;BR /&gt;&lt;BR /&gt;Stuff for my own work and amusement sits in my home directory.  The unwritten standard is that anything that goes into a crontab has to be moved to /usr/scripts. With only 3 admins, it's not too terribly difficult to deal with.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 20 Jan 2003 17:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885645#M935502</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-01-20T17:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885646#M935503</link>
      <description>Russ -&lt;BR /&gt;Our shop -&lt;BR /&gt;&lt;BR /&gt;Oracle specific scripts:&lt;BR /&gt;/opt/apps/"specific subdirectory"&lt;BR /&gt;&lt;BR /&gt;Root type scripts:&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/"specific subdirectory"&lt;BR /&gt;&lt;BR /&gt;In reading other responses, it appears one takes what is common to their shop and is consistent.&lt;BR /&gt;&lt;BR /&gt;Best of luck.&lt;BR /&gt;&lt;BR /&gt;dl</description>
      <pubDate>Mon, 20 Jan 2003 19:18:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885646#M935503</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2003-01-20T19:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885647#M935504</link>
      <description>Our shop uses /usr/local/hertz for anything developed inhouse.</description>
      <pubDate>Mon, 20 Jan 2003 19:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885647#M935504</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2003-01-20T19:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885648#M935505</link>
      <description>its been practice to put all the sysadmin scripts under /usr/local/bin directory.. &lt;BR /&gt;&lt;BR /&gt;few people put these scripts in a bundle and also install it using swinstall in /opt/ as well. (easy for administration of scripts across multiple systems)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Manju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jan 2003 21:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885648#M935505</guid>
      <dc:creator>Manju Kampli</dc:creator>
      <dc:date>2003-01-20T21:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885649#M935506</link>
      <description>You'll find a hundred different answers to this one. It purely will depend on the individual/admin team where it is best suited.&lt;BR /&gt;Some people place them in /usr/local/bin or somwhere else where it easily manageable. Some may have a standard bundle of tools deployed from sort of management server, where they could be developed. I have them (localised scripts) in a directory in /&lt;BR /&gt;The reason I do this is purely for convenience, where I may want to use them in single-user mode or doing some maintenance. Because of the small size of the number and size of the scripts in question, it does not pose a problem.</description>
      <pubDate>Mon, 20 Jan 2003 21:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885649#M935506</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-01-20T21:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Best location for sys admin scripts?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885650#M935507</link>
      <description>See the hier(5) manual page (i.e. "man hier") for what should go where.&lt;BR /&gt;&lt;BR /&gt;If this is purely local stuff, then it should probably go in /usr/local.</description>
      <pubDate>Tue, 21 Jan 2003 13:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-location-for-sys-admin-scripts/m-p/2885650#M935507</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-01-21T13:34:43Z</dc:date>
    </item>
  </channel>
</rss>

