diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2012-09-20 11:32:07 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2012-09-20 11:32:07 +0000 |
commit | 0a1ffa9e6b94c9e01767ae0497d99d29c345202f (patch) | |
tree | 4126acd613f4fe5d87b3e4eaf64509260ffa6c4b | |
parent | 1d93dff49c1685e4199f27d3a3c64672a1cfed12 (diff) |
Be consistent with what the installer and useradd(8) do and put newly
created users into their own primary group.
This does not change existing installations that already have a
usermgmt.conf(5).
ok todd@ beck@
-rw-r--r-- | usr.sbin/user/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/user/user.c b/usr.sbin/user/user.c index a03d53e13b0..9fe403584c3 100644 --- a/usr.sbin/user/user.c +++ b/usr.sbin/user/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.91 2012/09/18 07:56:11 ajacoutot Exp $ */ +/* $OpenBSD: user.c,v 1.92 2012/09/20 11:32:06 ajacoutot Exp $ */ /* $NetBSD: user.c,v 1.69 2003/04/14 17:40:07 agc Exp $ */ /* @@ -108,7 +108,7 @@ enum { #define CONFFILE "/etc/usermgmt.conf" #ifndef DEF_GROUP -#define DEF_GROUP "users" +#define DEF_GROUP "=uid" #endif #ifndef DEF_BASEDIR |