Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

22
linux/nmcli-agent Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, linux]
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.dev/docs/api/latest/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`