<?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: directory for script / logon/ ...etc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071179#M904902</link>
    <description>Sorry for the delay - yes, your steps are correct.  We chmod (555) the higher level directories (/apps and /bin) as well, so that we can control what gets put into production.&lt;BR /&gt;&lt;BR /&gt;I would suggest not going with the home directories idea as this can lead to a maintenance nightmare if you have to make a change to several scripts - finding them is much easier if all your scripts end up in one location.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Sep 2003 14:37:57 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-09-15T14:37:57Z</dc:date>
    <item>
      <title>directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071172#M904895</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to maak one directory to put al my script in. Those script i use to logon on the systeem.( username login, username logof ..etc.)&lt;BR /&gt;I want to use this directory for each user.Where i have to make this directory and what are the premissions i have to set.&lt;BR /&gt;thank you.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Sep 2003 12:36:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071172#M904895</guid>
      <dc:creator>I.Delic</dc:creator>
      <dc:date>2003-09-15T12:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071173#M904896</link>
      <description>You could use /usr/local/bin or you could create a location of your own choosing.  We use something called /apps/bin/shared&lt;BR /&gt;&lt;BR /&gt;dr-xr-xr-x   2 root       sys           2048 Jul 14 10:04 /apps/bin/shared&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Sep 2003 12:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071173#M904896</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-09-15T12:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071174#M904897</link>
      <description>Nothing more to say.  As Pete suggested you can go ahead with that.  I use &lt;BR /&gt;/usr/local/shared.  Inside shared you will have bin, lib and doc dirs.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Mon, 15 Sep 2003 12:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071174#M904897</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-09-15T12:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071175#M904898</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you be little more specific about making this directory. i'm not so good with unix. Do i have to do this:&lt;BR /&gt;mkdir /apps/&lt;BR /&gt;cd /apps&lt;BR /&gt;mkdir bin&lt;BR /&gt;cd bin &lt;BR /&gt;mkdir share&lt;BR /&gt;There i have to put al my script.&lt;BR /&gt;cd /&lt;BR /&gt;chmod 555 apps&lt;BR /&gt;&lt;BR /&gt;is this correct ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Mon, 15 Sep 2003 13:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071175#M904898</guid>
      <dc:creator>I.Delic</dc:creator>
      <dc:date>2003-09-15T13:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071176#M904899</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;assuming there's enough space in the filesystem you decide to put this directory in (check by running 'bdf' - will tell you how much space is free in the filesystems).&lt;BR /&gt;&lt;BR /&gt;Once you have enough space:&lt;BR /&gt;cd /whereyouwanttocreatedirectory&lt;BR /&gt;mkdir yourdirname&lt;BR /&gt;chmod 755 yourdirname&lt;BR /&gt;&lt;BR /&gt;and you're sorted, the 7 allows the user (i.e. you) who created it to put scripts into the directory, the 5s give the group and other users read and execute permission on the directory.&lt;BR /&gt;&lt;BR /&gt;e.g. you want to create a directory say /usr/local/scripts:&lt;BR /&gt;&lt;BR /&gt;cd /usr/local&lt;BR /&gt;mkdir scripts&lt;BR /&gt;chmod 755 scripts&lt;BR /&gt;&lt;BR /&gt;and your done.&lt;BR /&gt;&lt;BR /&gt;hope that helps,&lt;BR /&gt;Kevin.</description>
      <pubDate>Mon, 15 Sep 2003 14:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071176#M904899</guid>
      <dc:creator>Kevin O'Donovan</dc:creator>
      <dc:date>2003-09-15T14:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071177#M904900</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;assuming there's enough space in the filesystem you decide to put this directory in (check by running 'bdf' - will tell you how much space is free in the filesystems).&lt;BR /&gt;&lt;BR /&gt;Once you have enough space:&lt;BR /&gt;cd /whereyouwanttocreatedirectory&lt;BR /&gt;mkdir yourdirname&lt;BR /&gt;chmod 755 yourdirname&lt;BR /&gt;&lt;BR /&gt;and you're sorted, the 7 allows the user (i.e. you) who created it to put scripts into the directory, the 5s give the group and other users read and execute permission on the directory.&lt;BR /&gt;&lt;BR /&gt;e.g. you want to create a directory say /usr/local/scripts:&lt;BR /&gt;&lt;BR /&gt;cd /usr/local&lt;BR /&gt;mkdir scripts&lt;BR /&gt;chmod 755 scripts&lt;BR /&gt;&lt;BR /&gt;and you're done.&lt;BR /&gt;&lt;BR /&gt;hope that helps,&lt;BR /&gt;Kevin.</description>
      <pubDate>Mon, 15 Sep 2003 14:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071177#M904900</guid>
      <dc:creator>Kevin O'Donovan</dc:creator>
      <dc:date>2003-09-15T14:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071178#M904901</link>
      <description>Or you simply could allow the users to use their /home/&lt;USERNAME&gt; directory that was probably created when their login id was set up.&lt;BR /&gt;Put your scripts in /usr/local/shared giving it 775 permissions.  And maybe even include /usr/local/shared in their PATH stmt in their accounts.  Or if everybody is going to need this then just include it in the PATH statement of /etc/profile.&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita&lt;BR /&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Mon, 15 Sep 2003 14:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071178#M904901</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2003-09-15T14:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: directory for script / logon/ ...etc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071179#M904902</link>
      <description>Sorry for the delay - yes, your steps are correct.  We chmod (555) the higher level directories (/apps and /bin) as well, so that we can control what gets put into production.&lt;BR /&gt;&lt;BR /&gt;I would suggest not going with the home directories idea as this can lead to a maintenance nightmare if you have to make a change to several scripts - finding them is much easier if all your scripts end up in one location.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Sep 2003 14:37:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-for-script-logon-etc/m-p/3071179#M904902</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-09-15T14:37:57Z</dc:date>
    </item>
  </channel>
</rss>

