How to crack the root password in different versions of Linux?

  

In Linux system operation, root usually does not set a password. Once the root password is set, you don't have to worry about it. The following small series tells you how to crack the root password in different versions of Linux. I hope you have it. Helped.

log in as root, execute:

# passwd username (change password)

# useradd username (add users) Specific examples are as follows: [root @bogon ~]# passwd root Changing password for user root. New UNIX password:

BAD PASSWORD: it is based on a dictionary word Retype new UNIX password:

passwd: all authentication tokens updated Successful.

Linux root password recovery method

Linux root enjoys supreme power, once the root password is forgotten or stolen, it is a very headache, then how can we find Back to the root password, I summarize it as follows:

(a) Linux system password cracking

1. Press e in the grub option menu to enter the edit mode

2. Edit the kernel line /init 1 (or /single)

3. Press B to restart

4. After entering, execute the following command

root@#passwd root (configure root Password)

Enter new unix password: enter Password

root@#init 6

(b) debian linux system password cracking

1. in the grub option menu & rsquo; Debian GNU /Linux, … (recovery Mode) & rsquo;, press e to enter the edit mode

2. Edit the last line of the kernel line ro single changed to rw single init=/bin/bash, press b to execute the restart

3. After entering, execute the following command

root@(none)#mount -a

root@(none)#passwd root

root@(none)#reboot

(3) Freebsd system password cracking

1. Boot into the boot menu

2. Select each item (press 4) to enter single-user mode

3. Enter Then enter a list of commands

root@#mount -a

root@#fsck -y

root@#passwd(change password command)

root @#root(username to crack password)

Enter new unix password:

root@#init 6 (restart)

(4) Solaris system password cracking < Br>

1.Select in the grub option menu solaris failasfe items

2. prompted Do you wish to have it mounted read-write on /a? [y,n,? ] Select y

3. Enter single user mode

4. Enter the following command

#passwd

#New passwd: Enter a new password < Br>

#Re-enter New passwd: Enter new password at the time

#init 6 (restart) bitscn.com
Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved