Results 1 to 5 of 5

Thread: passwd is not change my passwords (Kali Linux 2022.2)

  1. #1
    Join Date
    2022-Jun
    Posts
    1

    Question passwd is not change my passwords (Kali Linux 2022.2)

    Hi forum members;
    I have a problem from "Change Password For Root". When i write passwd from root user, i can't change password for root. I tested this one by one;
    First;sudo supasswd -d -lSecond;sudo -ipasswdThirthI went into the boot menu and tried from here too but it didn't work.

    Can you help me please?

  2. #2
    Join Date
    2021-May
    Posts
    316
    Why are you using switches in your statement?

    sudo passwd

  3. #3
    Join Date
    2022-Jul
    Posts
    2
    I'm experiencing the same thing:
    -sudo passwd root
    -enter current password
    -type new password
    -retype new passwd
    -exit su
    -exit terminal
    -open new terminal
    -sudo su
    -New password doesn't work. Still set to old password.

    I have tried:
    1. Changing the password from boot menu
    2. Remounting filesystem read/write
    3. Fresh Reinstall of 2022.2

    None of the above work to change root password. Once you set your password in the installer, you can't seem to change it post install. This is the first time I'm seeing this on ANY of the distros. Am I just missing something here?

  4. #4
    Join Date
    2018-Jun
    Posts
    31
    If you are trying to change the root password do the following:
    $ sudo passwd
    *insert your user password*
    *insert new root password*
    *confirm new root password*
    $ su -
    *insert root password*

    Otherwise what you are trying to do with `sudo su` is get root by using your current user's password. If you want to change the password for sudo (as in, your regular account's password) just do a normal `passwd`.

  5. #5
    Join Date
    2022-Jul
    Posts
    2
    Ugh! Conceptual failure between sudo and su. My bad!
    Thanks for straightening out my head Gamb1t! Much appreciated!

Similar Threads

  1. Can't log in. Passwd change doesn't work
    By redleg101 in forum Kali Linux TroubleShooting
    Replies: 1
    Last Post: 2022-06-29, 13:43
  2. Kali Linux 2022.1 Freeze
    By HRSpartan in forum Kali Linux TroubleShooting
    Replies: 0
    Last Post: 2022-04-10, 08:58
  3. Kali Linux 2022.1 will not boot in virtual box
    By Metalman82 in forum Kali Linux TroubleShooting
    Replies: 0
    Last Post: 2022-04-01, 14:49
  4. Screen flickering Kali Linux 2022
    By hxor in forum Kali Linux TroubleShooting
    Replies: 0
    Last Post: 2022-03-08, 22:19

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •