Command runs as standard user but not using sudo from root
Asked by
GSO
The following works from a console as a standard_user with adm group rights:
$ nmcli con up id "vpn_service_
But running from root using sudo:
# /usr/bin/sudo -u standard_user -i /usr/bin/nmcli con up id "vpn_service_
Results in the following error:
Error: Connection activation failed: Not authorized to control networking.
Sessions still open, not unmounting
'nmcli' is the command line interface to NetworkManager.
Has anyone any idea on what is going on here?
(The full context to the question can be found here https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu sudo Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- GSO
- Solved:
- Last query:
- Last reply:
To post a message you must log in.