summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2010-06-03 20:28:23 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2010-06-03 20:28:23 +0000
commitc0caff87df1226b5753554bc05fc82670e60f743 (patch)
treeaea2c731fd4956fc93b94842985f85f4a7738f72
parent73ac8b7862c80ac91b46d7dd4286a0ddf58b57e0 (diff)
Add a new _iked user with uid 101 instead of (ab)using the _isakmpd user.
ok deraadt@
-rw-r--r--etc/group1
-rw-r--r--etc/master.passwd1
-rw-r--r--sbin/iked/types.h6
3 files changed, 4 insertions, 4 deletions
diff --git a/etc/group b/etc/group
index be5c1f7161e..b47a5cce403 100644
--- a/etc/group
+++ b/etc/group
@@ -65,6 +65,7 @@ _nsd:*:97:
_ldpd:*:98:
_sndio:*:99:
_ldapd:*:100:
+_iked:*:101:
dialer:*:117:
nogroup:*:32766:
nobody:*:32767:
diff --git a/etc/master.passwd b/etc/master.passwd
index 16f7faa571d..ec78ecf2b48 100644
--- a/etc/master.passwd
+++ b/etc/master.passwd
@@ -47,4 +47,5 @@ _nsd:*:97:97::0:0:NSD Daemon:/var/empty:/sbin/nologin
_ldpd:*:98:98::0:0:LDP Daemon:/var/empty:/sbin/nologin
_sndio:*:99:99::0:0:sndio privsep:/var/empty:/sbin/nologin
_ldapd:*:100:100::0:0:LDAP Daemon:/var/empty:/sbin/nologin
+_iked:*:101:101::0:0:IKEv2 Daemon:/var/empty:/sbin/nologin
nobody:*:32767:32767::0:0:Unprivileged user for NFS:/nonexistent:/sbin/nologin
diff --git a/sbin/iked/types.h b/sbin/iked/types.h
index fe2b8862375..9eabddce7b5 100644
--- a/sbin/iked/types.h
+++ b/sbin/iked/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.1 2010/06/03 16:41:12 reyk Exp $ */
+/* $OpenBSD: types.h,v 1.2 2010/06/03 20:28:22 reyk Exp $ */
/* $vantronix: types.h,v 1.24 2010/05/11 12:05:56 reyk Exp $ */
/*
@@ -20,9 +20,7 @@
#ifndef _IKED_TYPES_H
#define _IKED_TYPES_H
-#ifndef IKED_USER
-#define IKED_USER "_isakmpd"
-#endif
+#define IKED_USER "_iked"
#ifndef IKED_CONFIG
#define IKED_CONFIG "/etc/iked.conf"