> ## Documentation Index
> Fetch the complete documentation index at: https://gns3util.saygex.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Gns3util auth set default user

## gns3util auth set-default-user

Mark a stored user as the default for a standalone GNS3 server

### Synopsis

Mark one of the saved users as the default for a standalone GNS3 server.
When no --user flag is given on subsequent commands, the default user for that
server URL is used automatically.

Requires --server (or the global -s flag) to identify which server to update.
If \[username] is omitted a fuzzy picker opens so you can choose interactively.

```
gns3util auth set-default-user [username] [flags]
```

### Examples

```
  gns3util auth set-default-user alice -s http://gns3.example.com
  gns3util auth set-default-user -s http://gns3.example.com   # opens picker
```

### Options

```
  -h, --help   help for set-default-user
```

### Options inherited from parent commands

```
  -c, --cluster string      Cluster name from keyfile. Mutually exclusive with --server
  -i, --insecure            Ignore unsigned SSL-Certificates. Can be set via GNS3_INSECURE
  -k, --key-file string     Path to authentication keyfile. Can be set via GNS3_KEY_FILE or config.toml
  -o, --output string       Output format: [json, json-colorless, collapsed, yaml, toml, table, table-ascii]. Can be set via GNS3_OUTPUT (default "table")
  -s, --server string       GNS3v3 Server URL. Can be set via GNS3_SERVER or config.toml
      --user string[="~"]   User to select from the keyfile. Omit the value to open a fuzzy picker (--user), or pass a name (--user alice).
```

### SEE ALSO

* [gns3util auth](gns3util_auth.md)	 - Authentication commands

###### Auto generated by spf13/cobra on 9-May-2026
