1.先删除默认的admin帐号
root@xxs:~# openvasmd --delete-user=admin
User deleted.

kali Linux openvas忘记密码的解决方法

2.创建admin帐号,默认会生成密码
root@xxs:~# openvasmd --create-user=admin
User created with password '462972b7-02fc-4a0b-a585-e86801cc52b3'.