Bug 75978 - neat-control cannot disable interface as general user
neat-control cannot disable interface as general user
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-15 10:43 EDT by Jim Hall
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-10-15 12:33:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jim Hall 2002-10-15 10:43:20 EDT
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 12:26:00 EDT
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 12:33:47 EDT
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 17:57:25 EDT
just checkmark "Allow all users to enable/disable the device" or symlink with
consolehelper like redhat-config-network is..

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