JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

CentOS 6 & 7 forgot the root password modification scheme

Smartcard solutions

Moderator: product

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Thu Apr 18, 2019 10:33 pm

The root password modification of Linux is different from the password modification and retrieval of Windows. The login password of Windows needs to be solved by intervention tools if forgotten. CentOS6 and CentOS7 also have different password methods, as follows:
:) The practice proves that the following scheme is feasible :)

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Thu Apr 18, 2019 10:34 pm

The first is a root password change for CentOS 6
Boot press esc
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Thu Apr 18, 2019 10:35 pm

Press e to enter edit mode
Choose the Kernel/vmlinz 2.6.32-696 e16... ... Then press e to edit this item
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Thu Apr 18, 2019 10:36 pm

Once in edit mode, type simple or 1 after quiet and press enter
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Thu Apr 18, 2019 10:37 pm

Press b to enter single user mode
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Fri Apr 19, 2019 2:50 am

Passwd root
Enter the new password twice
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Fri Apr 19, 2019 2:51 am

Reboot to restart
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Fri Apr 19, 2019 2:52 am

Log in with the new password after reboot
The root password change for CentOS 6 is complete
Below is the root password change for CentOS 7
Boot press esc
Select CentOS Linux (3.10.0-693... Press the e key
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Fri Apr 19, 2019 2:53 am

Move your cursor over the line beginning with Linux 16 and find ro changed to rw init=sysroot/bin/sh
You do not have the required permissions to view the files attached to this post. Please login first.

lanzi
Posts: 39
Joined: Fri Sep 28, 2018 3:41 am
Points :200
Contact:

Re: CentOS 6 & 7 forgot the root password modification scheme

Post by lanzi » Fri Apr 19, 2019 2:54 am

Press Ctrl + x
Enter chroot /sysroot
You do not have the required permissions to view the files attached to this post. Please login first.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 4 guests

JavaCard OS : Disclaimer