On Monday 27 August 2007, Alan McKinnon wrote:
> On Monday 27 August 2007, Mick wrote:
> > Hi All,
> >
> > I have a box which until recently had only one user.  When I created
> > this user as e.g. user_name1 his home became owned by
> > user_name1:users.  This cascaded to directories below
> > /home/user_name1.  No directory called user_name1 was created at the
> > time.
> >
> > More recently, I created a new user, user_name2 and the ownership
> > of /home/user_name2 became user_name2:user_name2 (the latter being a
> > group for user_name2).  Is this how it should be these days?  If so
> > then I assume that this is because of changes in the skeleton file
> > over the years.
>
> There's two ways of doing this, either new users all have the same
> inital primary group, or they get one based on their user name. The
> second is preferred as homw dirs are then not open by default like they
> would be if they were all owned by the users groups, and the user sets
> a umask of 0002

From what you're saying the current default Gentoo set up is to have a 
separate primary group, based on the user's name.  Was this the case 3-4 
years ago?

> You can actually do it any way you want and that suits your needs, but
> the current gentoo default is a sane default. CHange it if you want
> with the usual tools to manipulate /etc/passwd|group|shadow|gshadow

I am aware of these files, but what tools are the "usual tools"?

Thanks for all the answers.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to