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 Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to