mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 01:50:27 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,17 +6,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# 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`
|
||||
`nmcli {{[a|agent]}} {{[s|secret]}}`
|
||||
|
||||
- Register `nmcli` as a polkit agent and listen for authorization requests:
|
||||
|
||||
`nmcli agent polkit`
|
||||
`nmcli {{[a|agent]}} {{[p|polkit]}}`
|
||||
|
||||
- Register `nmcli` as a secret agent and a polkit agent:
|
||||
|
||||
`nmcli agent all`
|
||||
`nmcli {{[a|agent]}} {{[a|all]}}`
|
||||
|
||||
Reference in New Issue
Block a user