mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 23:02:07 +02:00
17 lines
509 B
Markdown
17 lines
509 B
Markdown
# nmcli agent
|
|
|
|
> Run `nmcli` as a NetworkManager secret agent or polkit agent.
|
|
> This subcommand can also be called with `nmcli a`.
|
|
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
|
|
|
- Register `nmcli` as a secret agent and listen for secret requests:
|
|
|
|
`nmcli agent secret`
|
|
|
|
- Register `nmcli` as a polkit agent and listen for authorization requests:
|
|
|
|
`nmcli agent polkit`
|
|
|
|
- Register `nmcli` as a secret agent and a polkit agent:
|
|
|
|
`nmcli agent all`
|