users and groups

H.S. hs.samix at
Sat Dec 27 16:59:58 UTC 2008

Brian Astill wrote:
> I've examined "man adduser" "man adduser.conf" and the contents 
> of /etc/adduser.conf /etc/group and /etc/passwd.
> Unfortunately I still can't see how to do what I want to do.  
> <sob>
> A number of users are to use the same machine.  That isn't the 
> problem.
> I want to set up another home directory which all can read (and 
> preferably few can write).  That directory might be owned by 
> root, group allofus.  Seems to me I need to have all my users in 
> group allofus as well as their personal group as part of the 
> setup.  BUT there doesn't seem to be a way of putting a user in 
> more than one group.

Let us say you have groups g1, g2, and g3, and users alice and others.

To make user alice a member of all the above groups (which I assume
already exist):
$> sudo adduser alice g1
$> sudo adduser alice g2
$> sudo adduser alice g3

and so on for other others and groups.

> EXTRA_GROUPS in adduser.conf seems to be designed for access to 
> various peripherals.  Maybe I'm missing something.
> Advice would be welcome. 


Please reply to this list only. I read this list on its corresponding
newsgroup on Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.

More information about the ubuntu-users mailing list