Skip to content

netsoc account set

netsoc account set

Set user property


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]


  -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


Auto generated by spf13/cobra on 27-Jul-2021

Last update: 2021-07-27