Bug 18781 - Even root can't use usernetctl if USERCTL=no
Summary: Even root can't use usernetctl if USERCTL=no
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-10 08:02 UTC by Karsten Weiss
Modified: 2014-03-17 02:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-10-10 08:03:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Karsten Weiss 2000-10-10 08:03:00 UTC
Even the superuser can't bring up an interface if USERCTL is set to "no":

[root@addx /root]# id
uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[root@addx /root]# grep USERCTL /etc/sysconfig/network-scripts/ifcfg-ppp6 
USERCTL=no
[root@addx /root]# usernetctl ppp6 up
Users are not allowed to control this interface.
[root@addx /root]#

Comment 1 Nalin Dahyabhai 2000-10-10 16:28:58 UTC
The usernetctl program is only called by ifdown if it's not run as root, so it
needn't be run directly.  But it'll be fixed in the next Raw Hide snapshot
(5.50-1 or later) anyway.


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