Bug 763135 (GLUSTER-1403)

Summary: only admin (uid 0) should be able to run 'gluster' command
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: cliAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, lakshmipathi, nsathyan, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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