summaryrefslogtreecommitdiffstats
path: root/usr.sbin/user
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2012-09-20 11:32:06 +0000
committerajacoutot <ajacoutot@openbsd.org>2012-09-20 11:32:06 +0000
commitfbf3c684c2d2efac1e2d159e1749b6912ed2c1d3 (patch)
tree9a3c438c45317b1601b7a02b9fa4b49cf3707da8 /usr.sbin/user
parentspltdb() was really just #define'd to be splsoftnet(); replace the former (diff)
downloadwireguard-openbsd-fbf3c684c2d2efac1e2d159e1749b6912ed2c1d3.tar.xz
wireguard-openbsd-fbf3c684c2d2efac1e2d159e1749b6912ed2c1d3.zip
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@
Diffstat (limited to 'usr.sbin/user')
-rw-r--r--usr.sbin/user/user.c4
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