mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 06:47:36 +00:00
Update cheatsheets
This commit is contained in:
22
linux/nmcli-agent
Normal file
22
linux/nmcli-agent
Normal 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`
|
||||
Reference in New Issue
Block a user