<?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 Sharing home directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754967#M71109</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can I setup two users to share same directory?&lt;BR /&gt;Are there any restrictions such as they should belong to same group etc? Any other restrictions on the name of the home directory?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jayesh&lt;BR /&gt;</description>
    <pubDate>Sat, 29 Jun 2002 18:50:54 GMT</pubDate>
    <dc:creator>Jayesh shah</dc:creator>
    <dc:date>2002-06-29T18:50:54Z</dc:date>
    <item>
      <title>Sharing home directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754967#M71109</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can I setup two users to share same directory?&lt;BR /&gt;Are there any restrictions such as they should belong to same group etc? Any other restrictions on the name of the home directory?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jayesh&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Jun 2002 18:50:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754967#M71109</guid>
      <dc:creator>Jayesh shah</dc:creator>
      <dc:date>2002-06-29T18:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing home directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754968#M71110</link>
      <description>Hi Jayesh&lt;BR /&gt;&lt;BR /&gt;extract from the man page regarding useradd command&lt;BR /&gt;&lt;BR /&gt;A directory  can be shared  between the users  belonging  to the same group.  If the home directory is in the unshared mode and a new user is allocated to that directory then it will be put into the shared&lt;BR /&gt;mode by setting the  permissions of that directory to 775 (i.e.&lt;BR /&gt;includes the write  permissions to the group as well).  Also, the&lt;BR /&gt;directory which will be shared should have read and execute&lt;BR /&gt;permissions for the group. Otherwise, useradd will report an error.&lt;BR /&gt;&lt;BR /&gt;Do &lt;BR /&gt;&lt;BR /&gt;man useradd for more info&lt;BR /&gt;&lt;BR /&gt;I have attached some notes i put together for myself regarding useradd also&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 29 Jun 2002 19:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754968#M71110</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-29T19:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing home directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754969#M71111</link>
      <description>I thing there are no restrictions on the name of the home directory .&lt;BR /&gt;&lt;BR /&gt; Both the users should be in the same group or atleast the group of user1 should be the secondary group for the user2. And group should have the required permissions for the directory(775 if you want to have full permissions.).</description>
      <pubDate>Sat, 29 Jun 2002 19:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754969#M71111</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-06-29T19:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing home directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754970#M71112</link>
      <description>Jayesh&lt;BR /&gt;&lt;BR /&gt;To create your initial user belonging to group admin &lt;BR /&gt;&lt;BR /&gt;useradd -m steevo -g admin&lt;BR /&gt;&lt;BR /&gt;Creates home directory with files from /etc/skel&lt;BR /&gt;&lt;BR /&gt;Add another user belonging to the same group, keep in mind directory permissions as previously stated to allow full access&lt;BR /&gt;&lt;BR /&gt;useradd -d /home/steevo steevo1&lt;BR /&gt;&lt;BR /&gt;will create user steevo1 having a home directory steevo&lt;BR /&gt;&lt;BR /&gt;You also have usermod commands to change parameters for users when required&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 29 Jun 2002 19:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754970#M71112</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-29T19:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing home directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754971#M71113</link>
      <description>With the above caveats there is no problems with users sharing a home dir.  However, when we did it (most users shared a home dir) we made sure the .profile was read only and owned by root.  This way there was no chance of one persone chaging the way another user's profile.  In short YOU start to have to administer/decide how the users work, it can be an unwanted extra overhead.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Sat, 29 Jun 2002 19:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754971#M71113</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-06-29T19:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing home directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754972#M71114</link>
      <description>Hello Jayesh,&lt;BR /&gt;&lt;BR /&gt;just make sure that those *sharing* users do have different "$HISTFILE" settings, like:&lt;BR /&gt;export HISTFILE=$HOME/.sh_$(logname)_history&lt;BR /&gt;&lt;BR /&gt;in the shared "$HOME/.profile" or "$HOME/.shrc".&lt;BR /&gt;That way they won't disturb each other's history!&lt;BR /&gt;&lt;BR /&gt;Just my $0.02,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jun 2002 11:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sharing-home-directory/m-p/2754972#M71114</guid>
      <dc:creator>Wodisch_1</dc:creator>
      <dc:date>2002-06-30T11:41:40Z</dc:date>
    </item>
  </channel>
</rss>

