Hi, look into /etc/groups. <div><br></div><div><a href="http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/">http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/</a> </div><div><br></div><div>has a good discussion on the subject. When I was a 'school' we had to set up the goups 'professors', 'interns' and 'students'. </div>
<div><br></div><div>Professor A was in all 3 gropus</div><div>Intern A was in 'interns' and 'students'</div><div>Student A was in 'students. </div><div><br></div><div>The 'group' part of the file user permissions is often over looked, yet very useful :)</div>
<div><br></div><div>Regards.</div><div><br><div class="gmail_quote">On 20 January 2013 18:56, John Hupp <span dir="ltr"><<a href="mailto:lubuntu@prpcompany.com" target="_blank">lubuntu@prpcompany.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <font size="-1">On 1/19/2013 11:09 PM, Ioannis Vranos wrote:</font><br>
    <blockquote type="cite">
      <pre>On Sun, Jan 20, 2013 at 3:04 AM, John Hupp <a href="mailto:lubuntu@prpcompany.com" target="_blank"><lubuntu@prpcompany.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre>I have two users (user1 and user2), but for a special purpose I want to
maintain a single store of files in the user1 home directory.

So I added user1 and user2 to the "users" group, and reassigned the Group
property for /home/user1 from "user1" to "users."

I think that change automatically propagated to all the user1
sub-directories, but I can't remember for sure.  It's possible that I
manually changed the sub-directory permissions, perhaps even before the
change to /home/user1.

In any case, I thought that permission setup would automatically propagate
to any new sub-folders, but I just created user1/Documents/Documentation,
and it has Group: "user1."

Can I configure this for the behavior I'm looking for?
</pre>
      </blockquote>
      <pre>user1 belongs to two groups, user1, and users. The first group, is his
primary group.

Change the primary group number of users user1, and user2,  in
/etc/passwd (this file contains the user number, and primary group
number).

</pre>
    </blockquote>
    </div><font size="-1">This opens up yet more questions.  /etc/passwd only
      contains the original GID's for user1 and user2.  It does not
      reflect that both have now been also added to the "users" group. 
      So it seems that more than one user/group configuration system is
      being supported.<br>
      <br>
      I have been reading today the manpages for adduser, addgroup, and
      adduser.conf.  Interestingly, it does not document where it stores
      the configuration information -- perhaps because adduser and
      addgroup are only front-ends for useradd and groupadd.  There is
      no mention of /etc/passwd, for instance.<br>
      <br>
      But apart from that, Lubuntu's GUI tool for Users and Groups is
      users-admin (which I used for my customizations), and I have not
      yet found any handy documentation for that.  There may be
      something somewhere at <a href="http://library.gnome.org" target="_blank">library.gnome.org</a>, but I have not found it
      yet.  But poking around a bit in the interface, I see that it does
      not even show that user1 is a member of the user1 group, and
      likewise with user2.  So again, that indicates to me that more
      than one user/group configuration system in effect.</font><br>
  </div>

<br>--<br>
Lubuntu-users mailing list<br>
<a href="mailto:Lubuntu-users@lists.ubuntu.com">Lubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/lubuntu-users<br clear="all"><div><br></div>-- <br></a><a href="https://wiki.ubuntu.com/phillw" target="_blank">https://wiki.ubuntu.com/phillw</a>

</blockquote></div></div>