Hi Tobias,

i'm not sure as i don't use tools like adduser(8) and useradd(8),
and i doubt they are widely used among developers anyway.  I think
they are around mostly because some people are used to them from
other systems.
So, gratuitously changing the defaults is not necessarily a wise move.
As far as i can see, FreeBSD adduser(8) defaults to per-user-groups as
well, even though it's a different implementation.  Very probably,
that's what people expect from this particular tool.

Of course, in case adduser(8) users like the change, i'm not
opposed to it.

Yours,
  Ingo


Tobias Ulmer wrote on Fri, Oct 29, 2010 at 10:52:46AM +0200:

> The installer defaults to creating accounts with group "users", adduser
> creates a group for each user. Sync the two.
> Takes effect only if /etc/addusers.conf is regenerated, ie. new
> installations.
> 
> Index: adduser.perl
> ===================================================================
> RCS file: /srv/boron/data/vcs/cvs/openbsd/src/usr.sbin/adduser/adduser.perl,v
> retrieving revision 1.53
> diff -u -p -r1.53 adduser.perl
> --- adduser.perl      3 Jan 2007 15:26:04 -0000       1.53
> +++ adduser.perl      29 Oct 2010 08:38:27 -0000
> @@ -102,7 +102,7 @@ sub variables {
>  
>      $defaultshell = 'ksh';   # defaultshell if not empty
>      $group_uniq = 'USER';
> -    $defaultgroup = $group_uniq;# login groupname, $group_uniq means username
> +    $defaultgroup = 'users'; # login groupname, $group_uniq means username
>      $defaultclass = 'default';  # default user login class
>  
>      $uid_start = 1000;               # new users get this uid

Reply via email to