public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL5 - cman: Allow connections from unprivileged user/group "ais"
@ 2009-03-27 15:25 Christine Caulfield
0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-03-27 15:25 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=49e8d4b32390184b1794b90b11865d8d60ee352d
Commit: 49e8d4b32390184b1794b90b11865d8d60ee352d
Parent: 3df8a3340b731b3f1c4911e45092a4a4680c5543
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Fri Mar 27 15:23:30 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Fri Mar 27 15:23:30 2009 +0000
cman: Allow connections from unprivileged user/group "ais"
bz#485469
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/daemon/ais.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cman/daemon/ais.c b/cman/daemon/ais.c
index b92ce59..97f7034 100644
--- a/cman/daemon/ais.c
+++ b/cman/daemon/ais.c
@@ -587,14 +587,14 @@ static int comms_init_ais(struct objdb_iface_ver0 *objdb)
}
}
- /* Don't run under user "ais" */
+ /* Make sure we allow connections from user/group "ais" */
objdb->object_find_reset(OBJECT_PARENT_HANDLE);
if (objdb->object_find(OBJECT_PARENT_HANDLE, "aisexec", strlen("aisexec"), &object_handle) == 0)
{
objdb->object_key_create(object_handle, "user", strlen("user"),
- "root", strlen("root") + 1);
+ "ais", strlen("ais") + 1);
objdb->object_key_create(object_handle, "group", strlen("group"),
- "root", strlen("root") + 1);
+ "ais", strlen("ais") + 1);
}
/* Make sure we load our alter-ego */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-27 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-27 15:25 cluster: RHEL5 - cman: Allow connections from unprivileged user/group "ais" Christine Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).