public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: RHEL5 - cman: Allow connections from unprivileged user/group "ais" Date: Fri, 27 Mar 2009 15:25:00 -0000 [thread overview] Message-ID: <20090327152455.1F005120150@lists.fedorahosted.org> (raw) 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 */
reply other threads:[~2009-03-27 15:25 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090327152455.1F005120150@lists.fedorahosted.org \ --to=chrissie@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).