Root user, normal user password reset and retrieve (CENTOS/REDHAT/DEBIAN/FREEBSD)

Source: Internet
Author: User

Log in as root user


Resetting the root user password

passwd


Reset Tran User Password

PASSWD Tran


============================================================================

Redhat/centos system root Password back:

Grub Options Menu Press E to enter edit mode

Edit kernel that line,/init 1 or/single

Press B to restart (enter rescue mode)

Execute passwd root (reset new password)

Init 6 reboot to enter new password


============================================================================

(ii) Debian Linux system password cracking

1. In the Grub Options menu ' Debian gnu/linux,... (recovery mode) ', press E to enter edit mode

2. Edit the kernel on the side of the RO single to RW single init=/bin/bash, press B to perform the restart

3. After entering, execute the following command

[Email protected] (none) #mount-A

[Email protected] (none) #passwd root

[Email protected] (none) #reboot


============================================================================

Three FREEBSD System Password hack

1. Booting into the boot menu

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

3. Enter a list of commands after entering

[Email protected] #mount-A

[Email protected] #fsck-y

[Email protected] #passwd (change password command)


Root user, normal user password reset and retrieve (CENTOS/REDHAT/DEBIAN/FREEBSD)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.