Skip to content

netsoc account set

netsoc account set

Set user property

Synopsis

Set user property. If logged in with an admin account, the -u flag can be used to select the user to retrieve. Dates are of the form "YYYY-MM-DD".

The following properties can be set: ● username ● email ● password ● firstname ● lastname ● sshkey

These properties can only be set by an admin: ● verified ● renewed ● isadmin

Setting the following will log out all existing sessions (setting email will also re-send verification): ● password ● email ● isadmin

netsoc account set <property> <value> [flags]

Options

  -h, --help          help for set
  -u, --user string   (admin only) user to perform action as (default "self")

Options inherited from parent commands

      --config string   config file (default "/home/runner/.netsoc.yaml")
      --debug           print debug messages

SEE ALSO

Auto generated by spf13/cobra on 25-Oct-2020

Last update: 2020-10-25