On Friday 12 September 2008 13:18:02 Hinko Kocevar wrote:
> Hi,
>
> When I create a new user on my machine the user belongs to its own group -
> and not the group 'users'. Also when creating directory the user creates it
> with its group name instead of users group. How can this be fixed, so that
> user belongs to users group by default 

man useradd
cat /etc/defaults/useradd

> and hence all the files it created 
> belong to users group as well?

change the primary group in /etc/passwd to be that of the users group

It's also in /etc/default/useradd, I think


>
> Thank you,
> Hinko



-- 
alan dot mckinnon at gmail dot com

Reply via email to