Make new user sub-folders inherit parent permissions

Ioannis Vranos ioannis.vranos at gmail.com
Sun Jan 20 19:27:05 UTC 2013


On Sun, Jan 20, 2013 at 8:56 PM, John Hupp <lubuntu at prpcompany.com> wrote:
>
> 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.
>
> 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.
>
> 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
> library.gnome.org, 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.

Users can belong to many groups, one of them is the "primary group".
You can change a user's primary group, from the Users and Groups
program. Select the user, and go to Advanced Settings->Advanced->Main
group.


-- 
Ioannis Vranos

http://cppsoftware.binhoster.com



More information about the Lubuntu-users mailing list