From bb564a5950a14139f59305e549ca8665b8f31cb8 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 30 Sep 2008 06:11:38 +0000 Subject: Management interface can now listen on a unix domain socket, for example: management /tmp/openvpn unix Also added management-client-user and management-client-group directives to control which processes are allowed to connect to the socket. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3396 e7ae566f-a301-0410-adde-c780ea21d3b5 --- misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 45356a6..5f5df45 100644 --- a/misc.c +++ b/misc.c @@ -82,7 +82,7 @@ get_user (const char *username, struct user_state *state) state->username = username; ret = true; #else - msg (M_FATAL, "Sorry but I can't setuid to '%s' because this operating system doesn't appear to support the getpwname() or setuid() system calls", username); + msg (M_FATAL, "cannot get UID for user %s -- platform lacks getpwname() or setuid() system calls", username); #endif } return ret; @@ -117,7 +117,7 @@ get_group (const char *groupname, struct group_state *state) state->groupname = groupname; ret = true; #else - msg (M_FATAL, "Sorry but I can't setgid to '%s' because this operating system doesn't appear to support the getgrnam() or setgid() system calls", groupname); + msg (M_FATAL, "cannot get GID for group %s -- platform lacks getgrnam() or setgid() system calls", groupname); #endif } return ret; -- cgit v1.2.3