View Issue Details

IDProjectCategoryView StatusLast Update
0006625Kali Linux[All Projects] Kali Package Bugpublic2020-08-07 01:11
Reporterpanys Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2020.2 
Target VersionFixed in Version 
Summary0006625: It can't change the passwd for admin
DescriptionI try to modify the passwd for admin ,and I can't to click the edit. I delete the user and then create a new one by " runuser -u _gvm -- gvmd",and it look doesn't change any more .Also,I can't get the user when I do "runuser -u _gvm gvmd -- get-users".

Activities

panys

2020-08-06 09:17

reporter  

image.png (42,664 bytes)
image.png (42,664 bytes)
image-2.png (4,156 bytes)
image-2.png (4,156 bytes)
image-3.png (55,093 bytes)
image-3.png (55,093 bytes)

sbrun

2020-08-06 13:01

manager   ~0013214

I think it's normal that you can't edit the "Global User". You need to have at least one user.
To change the password of this user, you should use the command
runuser -u _gvm -- gvmd --user=youruser --new-password=yournewpass

For the other users you can edit them and change the passwords.

You have deleted the global user and it seems you can't create a new one. Can you check the log after you run
runuser -u _gvm -- gvmd --create-user=yournewuser --password=yourpassword
In /var/log/gvm/gvmd.log

panys

2020-08-07 01:11

reporter   ~0013225

Year.I create a new user,and it would create a new passwd by itself.It look like my passwd is not valid .

I try to login by webui,and it can't login by my passwd.But I can login again when I modified the passwd again after I run
runuser -u _gvm -- gvmd --create-user=yournewuser --password=yourpassword

I check the log and it had nothing error in it.

 I login the webui,I only found a user in it ,and I only found a user whose role is admin but I can't modidy it.
I used another account to login again,and it's the same as the before.It tell me "Permission to edit user denied"

image-4.png (105,575 bytes)
image-4.png (105,575 bytes)
image-5.png (21,712 bytes)
image-5.png (21,712 bytes)

Issue History

Date Modified Username Field Change
2020-08-06 09:17 panys New Issue
2020-08-06 09:17 panys File Added: image.png
2020-08-06 09:17 panys File Added: image-2.png
2020-08-06 09:17 panys File Added: image-3.png
2020-08-06 13:01 sbrun Note Added: 0013214
2020-08-07 01:11 panys File Added: image-4.png
2020-08-07 01:11 panys File Added: image-5.png
2020-08-07 01:11 panys Note Added: 0013225