Bug 763135 (GLUSTER-1403) - only admin (uid 0) should be able to run 'gluster' command
Summary: only admin (uid 0) should be able to run 'gluster' command
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1403
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-19 12:50 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Amar Tumballi 2010-08-19 12:50:25 UTC
glusterd should make sure the 'gluster' command is executed by privileged user.

Comment 1 Vijay Bellur 2010-08-30 07:24:00 UTC
PATCH: http://patches.gluster.com/patch/4375 in master (Only admin should be able to run gluster command)

Comment 2 Lakshmipathi G 2010-09-07 05:11:38 UTC
tested with 3.1.0qa16
---------
as normal user -
[lakshmi@domU-12-31-39-0E-8E-31 ~]$ /usr/local/sbin/gluster
gluster> volume info
No volumes present
gluster> peer status
gluster> quit


as root user -

[lakshmi@domU-12-31-39-0E-8E-31 ~]$ su -
Password: 
[root@domU-12-31-39-0E-8E-31 ~]# gluster
gluster> volume info
Volume Name: afr4
Type: Replicate
Status: Started
Number of Bricks: 4
Bricks:
Brick1: 10.192.141.187:/mnt/p1
Brick2: 10.192.134.144:/mnt/p1
Brick3: 10.214.231.112:/mnt/p1
Brick4: 10.198.110.16:/mnt/p1


Note You need to log in before you can comment on or make changes to this bug.