# \[Solved\] V 6.2.2: Can't create admin account

**URL:** <https://community.ciphermail.com/t/solved-v-6-2-2-cant-create-admin-account/1023>\
**Category:** General\
**Created:** [November 5, 2025, 4:52pm UTC](https://community.ciphermail.com/t/solved-v-6-2-2-cant-create-admin-account/1023 "2025-11-05T16:52:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/smguenther/32/179_2.png) [@smguenther](https://community.ciphermail.com/u/smguenther)\
**Post date:** [November 5, 2025, 4:52pm UTC](https://community.ciphermail.com/t/solved-v-6-2-2-cant-create-admin-account/1023/1 "2025-11-05T16:52:09Z")

</div>

Hello,

following the documentation, imported the VM into Proxmox, configured the network and executed the command _cm-run-playbook_.  
The next step would be to create the admin account, but this fails:

```auto
root@localhost ~] # ciphermail-cli auth admin add --name admin --authentication-type username-password
Application run failed
org.springframework.shell.CommandNotCurrentlyAvailable: Command 'auth admin add' exists but is not currently available because backend password is not configured
        at org.springframework.shell.command.CommandExecution$DefaultCommandExecution.evaluate(CommandExecution.java:130)
        at org.springframework.shell.Shell.evaluate(Shell.java:248)
        at org.springframework.shell.Shell.run(Shell.java:159)
        at org.springframework.shell.jline.NonInteractiveShellRunner.run(NonInteractiveShellRunner.java:144)
        at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:66)
        at org.springframework.boot.SpringApplication.lambda$callRunner$4(SpringApplication.java:784)
        at org.springframework.util.function.ThrowingConsumer$1.acceptWithException(ThrowingConsumer.java:82)
        at org.springframework.util.function.ThrowingConsumer.accept(ThrowingConsumer.java:60)
        at org.springframework.util.function.ThrowingConsumer$1.accept(ThrowingConsumer.java:86)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:796)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:784)
        at org.springframework.boot.SpringApplication.lambda$callRunners$3(SpringApplication.java:772)
        at java.base@22.0.2/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
        at java.base@22.0.2/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
        at java.base@22.0.2/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:557)
        at java.base@22.0.2/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)
        at java.base@22.0.2/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
        at java.base@22.0.2/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
        at java.base@22.0.2/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
        at java.base@22.0.2/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:611)
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:772)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:325)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
        at com.ciphermail.shell.CipherMailShellApplication.main(CipherMailShellApplication.java:137)
        at java.base@22.0.2/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)

```

How do I configure the missing backend password?

Thanks for any suggestion or hint.

Stefan

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [November 5, 2025, 5:15pm UTC](https://community.ciphermail.com/t/solved-v-6-2-2-cant-create-admin-account/1023/2 "2025-11-05T17:15:10Z")

</div>

You should run the ciphermail-cli command as the sa user, not the root user.

The credentials for the cli user are stored in `/home/sa/.ciphermail-cli`. If you want to run the cli command as root, you can also export the variables from `/home/sa/.ciphermail-cli`.

```bash
export CIPHERMAIL_SHELL_USERNAME=cli
export CIPHERMAIL_SHELL_USERNAME=<password>

ciphermail-cli system ping

```

---

<div class="post-metadata">

**Author:** ![smguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/smguenther/32/179_2.png) [@smguenther](https://community.ciphermail.com/u/smguenther)\
**Post date:** [November 5, 2025, 5:28pm UTC](https://community.ciphermail.com/t/solved-v-6-2-2-cant-create-admin-account/1023/3 "2025-11-05T17:28:45Z")

</div>

Thank you, Martijn!! 👍

Best wishes,

Stefan
