You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm implementing a Python script on a Raspberry Pi 3 to control a gopro via wifi.
I tried the gopro-wifi demo both as sudo and standard user and in both case it works. But in the standard user case it asks for sudo password and it accepts even a wrong password.
Then I created my personal Python script and if I launch it as sudo it keeps asking for the sudo password and I get the "Invalid password" error even if the password is correct.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
UPDATE: I looked at the log files and in the gopro-wifi demo I can see that when executed as sudo it gets:
org.freedesktop.NetworkManager.enable-disable-wifi yes
org.freedesktop.NetworkManager.wifi.scan yes
so it doesn't ask for a sudo password.
When executed as standard user it gets:
org.freedesktop.NetworkManager.enable-disable-wifi no
org.freedesktop.NetworkManager.wifi.scan auth
and it asks for a password and even if I input a wrong password it works.
On my script I get no and auth both with and without sudo and it doesn't accepts any password.
Hello, I'm implementing a Python script on a Raspberry Pi 3 to control a gopro via wifi.
I tried the gopro-wifi demo both as sudo and standard user and in both case it works. But in the standard user case it asks for sudo password and it accepts even a wrong password.
Then I created my personal Python script and if I launch it as sudo it keeps asking for the sudo password and I get the "Invalid password" error even if the password is correct.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: