ERROR: No users found. You need to create at least one user to log in

This problem might to be originating from an issue in the Kali packages according to 0007433: GVM is not installed - Kali Linux Bug Tracker :

FTR the postrgresql packages come from Debian Testing and the packages required for gvmd did not migrate at the same time in Debian Testing so in Kali too.

and should have been solved in Kali with:

I will update the gvmd package for postgresql version 14 to fix this

I have updated the package. Please update your system.
The fixed versions are:

  • gvmd version 21.4.4-0kali2
  • postgresql-common version 231

You may need to upgrade the postgresql clusters to version 14 (see “/usr/share/doc/postgresql-common/README.Debian.gz”, section “Default clusters and upgrading” for details)

1 Like