Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

On the serverb machine, reset the password to redhat for the root user. Locate the icon for the serverb machine console as appropriate for your

On the serverb machine, reset the password to redhat for the root user.
Locate the icon for the serverb machine console as appropriate for your classroom environment, and then open the console.
Send Ctrl+Alt+Del to your system by using the relevant button or menu entry.
When the boot-loader menu appears, press any key to interrupt the countdown, except the Enter key.
Use the cursor keys to highlight the rescue kernel boot-loader entry (the one with the rescue word in its name).
Press e to edit the current entry.
Use the cursor keys to navigate the line that starts with the linux text.
Press Ctrl+e to move the cursor to the end of the line.
Append the rd.break text to the end of the line.
NOTE
If it is difficult for you to see the text in the console, consider changing the resolution when editing the kernel line in the boot loader entry.
To change the console resolution, add either video=640x480 or vga=ask on the line that starts with the linux word, after rd.break. For most consoles, a resolution of 640x480 is enough. By using vga=ask, you can choose a more suitable resolution for your environment.
Press Ctrl+x to boot by using the modified configuration.
Press Enter to enter the maintenance mode.
At the sh-5.1 prompt, remount the /sysroot file system as writable, and then use the chroot command for the /sysroot directory.
sh-5.1# mount -o remount,rw /sysroot
...output omitted...
sh-5.1# chroot /sysroot
Set redhat as the password for the root user.
sh-5.1# passwd root
Changing password for user root.
New password: redhat
BAD PASSWORD: The password is shorter than 8 characters
Retype new password: redhat
passwd: all authentication tokens updated successfully.
Configure the system to perform a full SELinux relabeling after booting.
sh-5.1# touch /.autorelabel
Exit the chroot environment and the sh-5.1 prompt. After the file system is relabeled, the system prompts to enter maintenance mode. However, if you wait, then it completes the reboot and shows the boot-loader menu.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

Enhance the basic quality of your voice.

Answered: 1 week ago

Question

Describe the features of and process used by a writing team.

Answered: 1 week ago