Bug 75978

Summary: neat-control cannot disable interface as general user
Product: [Retired] Red Hat Linux Reporter: Jim Hall <hallx049>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-15 16:33:53 UTC 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 Jim Hall 2002-10-15 14:43:20 UTC
Description of Problem:

Cannot disable my wireless connection (eth1) when runing neat-control as a
general user ('jhall').  To disable the interface, I need to run neat (which
prompts me for root's password, and then I can enable / disable interfaces.)

Version-Release number of selected component (if applicable):

redhat-config-network-1.1.20-1

How Reproducible:

Always

Steps to Reproduce:

1. login as general user under X
2. Click Hat - System Tools - Network Device Control
3. Hilight the eth1 interface
4. click 'Deactivate'

Actual Results:

Receives the message 'Cannot deactivate network interface eth1'

Expected Results:

Should have deactivated my wireless (eth1) interface.

Additional Information:

Comment 1 Jim Hall 2002-10-15 16:26:00 UTC
As a a work-around, I am now running 'neat-control' under sudo.  'neat-control'
works as expected when run as root.

Should general users be able to bring interfaces up/down using neat-control? 
It's in the menus, so I would guess yes.

-jh

Comment 2 Jim Hall 2002-10-15 16:33:47 UTC
I'm trying to figure out if there is a better way to fix this than running it
through sudo (although sudo is a great way to limit what users can bring
interfaces up/down).

Setting 'neat-control' to suid-root didn't seem to work ... maybe I should have
also set sgid-root?

Comment 3 Harald Hoyer 2002-10-15 21:57:25 UTC
just checkmark "Allow all users to enable/disable the device" or symlink with
consolehelper like redhat-config-network is..