nmcli dost not disable Wi-Fi, needs root privileges
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Hello!
Command
nmcli nm wifi off
does no disable Wi-Fi for me. But with sudo it does. Thinkpad X61s.
Command nmcli should not need root privileges. The applet in menu bar also does not.
Thanks
HG
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: network-manager 0.9.8.0-0ubuntu6
ProcVersionSign
Uname: Linux 3.8.0-30-lowlatency i686
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Date: Tue Sep 10 10:21:28 2013
EcryptfsInUse: Yes
IpRoute:
default via 10.76.66.254 dev eth0 proto static
10.76.66.0/24 dev eth0 proto kernel scope link src 10.76.66.49 metric 1
169.254.0.0/16 dev eth0 scope link metric 1000
MarkForUpload: True
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
RfKill:
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
SourcePackage: network-manager
UpgradeStatus: Upgraded to raring on 2013-08-11 (29 days ago)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
wlan0 802-11-wireless unavailable /org/freedeskto
eth0 802-3-ethernet connected /org/freedeskto
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running 0.9.8.0 connected enabled enabled disabled enabled disabled
Hi,
Did you do this while physically connected to a console, or via SSH?
Are special configurations done by your system administrator (assuming this is in a corporate environment) to limit access to specific administrative tasks on your computer?
The two possibilities that come to mind would be if this is attempted via a SSH connection, in which case this is "expected" behavior (SSH connections are not local, and thus not considered the same way when checking for permissions) or a custom configuration for policykit that restricts the "org.freedeskto p.NetworkManage r.enable- disable- wifi" permission.
Regards,
/ Matt