summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-07-15 11:34:35 +0200
committerVijay Bellur <vijay@gluster.com>2011-09-12 06:21:32 -0700
commit74bf2c1fc5d7377472d8c6ba8e27a333fc618899 (patch)
treeb90005b1b951e7177a76b96b62141d25b8f206f0 /cli/src/cli.c
parent36059b73949a1eee32a3b2aa16b09263628ff050 (diff)
Revert "cli: Only admin should run gluster CLI"
This reverts commit 8d64ca70b4c2467d4ed8c76a9eae385abdebd7a7. Change-Id: Id2c6b491c7dd133510380f576ad59655a01d6121 BUG: 3242 Reviewed-on: http://review.gluster.com/92 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index d362cd11a53..fe533071858 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -588,11 +588,6 @@ main (int argc, char *argv[])
int ret = -1;
glusterfs_ctx_t *ctx = NULL;
- if (geteuid ()) {
- printf ("Only super user can run this command\n");
- return EPERM;
- }
-
ret = glusterfs_globals_init ();
if (ret)
return ret;