1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-31 18:55:33 +02:00
tldr/pages/linux/nmcli-agent.md

17 lines
504 B
Markdown
Raw Normal View History

# nmcli agent
2023-08-02 07:26:52 +02:00
> Run `nmcli` as a NetworkManager secret agent or polkit agent.
2024-10-10 10:22:22 +02:00
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
2023-08-02 07:26:52 +02:00
- Register `nmcli` as a secret agent and listen for secret requests:
2025-07-20 01:37:29 +03:00
`nmcli {{[a|agent]}} {{[s|secret]}}`
2023-08-02 07:26:52 +02:00
- Register `nmcli` as a polkit agent and listen for authorization requests:
2025-07-20 01:37:29 +03:00
`nmcli {{[a|agent]}} {{[p|polkit]}}`
2023-08-02 07:26:52 +02:00
- Register `nmcli` as a secret agent and a polkit agent:
2025-07-20 01:37:29 +03:00
`nmcli {{[a|agent]}} {{[a|all]}}`