PDA

View Full Version : Issue with setting new username and password



pilnox123
2022-05-17, 01:11
Hello everyone I recently installed the ova version of Kali for VirtualBox and one of the first things I wanted to do is to change the default username and password for added security. However whenever it asks for the default username and passwords, I am unable to type anything, hitting enter seems to fix this, but I can barely get a letter in before getting a error message saying "Sorry try again." I added a screenshot of the error I am getting below. Apologies if this is the wrong place to post this or this seems like a really "noob" question,I just started using Kali. Thanks.

NG-Jonathan
2022-06-14, 05:26
Default username is kali. And default password is kali.

Now you need to type following command.

sudo -i

Type in the default password.

After that, type the following command to change the password.

passwd kali

You will be prompted to create new password and confirm password. After that reboot the Kali Linux and you will need to use the newly created password to login.

NG-Jonathan
2022-06-14, 06:12
I don't think you can change the default username "kali" to another name. Unless you create new user and login as that new user. Then only you can change the default "kali' username to other username. This is because upon login in as "kali' and services will be running under 'kali' credential, so you can't change it unless you running under other username.

pilnox123
2022-06-20, 23:04
Thank you all for your replies. I deleted the .ova version of Kali and installed the .iso version instead, and I was able to successfully customize my username and password.