Menu

#503 Is there a way in UI when creating script to use variable such as username?

open
nobody
None
2023-05-09
2023-05-09
Anonymous
No

Originally created by: qdrddr

Is there a way in UI when creating a script to use variables such as username?
So I could add a user to sudoers.

Other variables may be helpful, too, such as the IP address and port of the host and even the user public key, since some systems, such as VyOS, accept and store the public keys not in the authorized_keys file but in its configuration with a specific set of commands.

Example from VyOS documentation:
set system login user <username> authentication public-keys <identifier> key <key>

CleanShot 2023-05-08 at 20 48 27

Discussion


Log in to post a comment.

Auth0 Logo