Hello!

You are right. I have executed nmcli from xrdp/vnc session.
Locally it works. But the bug is, that if executed remotely neither an
error/warning message is written nor is the error-code set nor prompt
for password is emitted. It is also interesting, that 

sudo nmcli nm
wifi off 

works from remote session, but

echo '#!/bin/sh' >wifi_off


echo 'nmcli nm wifi off' >>wifi_off 

sudo chown root.root wifi_off


sudo chmod +s wifi_off 

./wifi_off

does not.

I am the
administrator, it is my notebook. 

Best regards,

Hans

Dne
30.09.2013 17:54, Mathieu Trudel-Lapierre napsal: 

> 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.freedesktop.NetworkManager.enable-disable-wifi"
> permission.
> 
>
Regards,
> 
> / Matt
> 
> ** Changed in: network-manager (Ubuntu)
>
Status: New => Incomplete
> 
> ** Changed in: network-manager (Ubuntu)
>
Importance: Undecided => Medium
> 
> -- 
> You received this bug
notification because you are subscribed to the bug
> report.
>
https://bugs.launchpad.net/bugs/1223237
> 
> Title:
> nmcli dost not
disable Wi-Fi, needs root privileges
> 
> To manage notifications about
this bug go to:
>
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1223237/+subscriptions

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1223237

Title:
  nmcli dost not disable Wi-Fi, needs root privileges

Status in “network-manager” package in Ubuntu:
  Incomplete

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
  ProcVersionSignature: Ubuntu 3.8.0-30.22-lowlatency 3.8.13.6
  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.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=false
   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/freedesktop/NetworkManager/Devices/1  
   eth0       802-3-ethernet    connected     
/org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   
WIFI       WWAN-HARDWARE   WWAN      
   running         0.9.8.0    connected       enabled       enabled         
disabled   enabled         disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1223237/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to