Michel Posted April 19, 2003 Report Share Posted April 19, 2003 With Mandrake the group you have has the same name as your username..There is also a group "users"..Can you use this group for all local users or does thgis group already has some other purpose????? Thanks Quote Link to comment Share on other sites More sharing options...
aru Posted April 22, 2003 Report Share Posted April 22, 2003 That is a really good observation, and I'm also wondering why redhat like distros do that. In my slackware pc when I create a new user, the default is to belong to the users group. But in mandrake all the new users belong to their usersname group. But the most surpising think is that WHILE according to the man page of adduser, the defaults are set through /etc/default/useradd, where: ~# cat /etc/default/useradd # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel ~# grep 100 /etc/group users:x:100: SO per default new users should be part of the "users" group, BUT they actually are: ~# adduser foo ~# groups foo foo : foo If I have some time, I'll look deeper into this question, and try to guess why useradd doesn't use the default settings :? By the moment, check out this link: http://www.redhat.com/[...]/admin-primer/s...sgrps-proc.html though it doesn't explain why creates a new gruop with username, at least explains the proccess. I guess that is a security feature (newuser:newuser + umask 002), but I don't see which advantage is over something like newuser:users + umask 022 Ofcourse you can add your users to the "users" group if you wish Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted April 23, 2003 Report Share Posted April 23, 2003 Before adding users, look at userdrake's configuration (in GUI), there's a drop-down list (IIRC) where you can select the default group (if any, else a new group is created for each user) for newly created users. Yves. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.