mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-30 15:55:28 +02:00
16 lines
504 B
Markdown
16 lines
504 B
Markdown
# nmcli agent
|
|
|
|
> Run `nmcli` as a NetworkManager secret agent or polkit agent.
|
|
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
|
|
|
- Register `nmcli` as a secret agent and listen for secret requests:
|
|
|
|
`nmcli {{[a|agent]}} {{[s|secret]}}`
|
|
|
|
- Register `nmcli` as a polkit agent and listen for authorization requests:
|
|
|
|
`nmcli {{[a|agent]}} {{[p|polkit]}}`
|
|
|
|
- Register `nmcli` as a secret agent and a polkit agent:
|
|
|
|
`nmcli {{[a|agent]}} {{[a|all]}}`
|