Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

Rhcsa 8 Final Questions With Solutions 100% Correct

Document preview thumbnail
Preview 2 out of 11 pages

Rhcsa 8 Final Questions With Solutions 100% Correct 1. reboot your server. assume that you don't know the root password, and use the appropriate mode to enter a root shell that doesn't require password. Set the root password to mypassword. 1. in the boot loader menu: press e the end of the line begging with the Linux, at the end of this line, append the following: init=/bin/sh ctrl-x the installed SELinux policy: /usr/sbin/load_policy -i 5-execute the following command you root partition: mount -o remount,rw / 6-reset the root password: passwd root 7-remount the root partition:

Content preview

Rhcsa 8 Final Questions With Solutions 100%
Correct

1. reboot your server. assume that you don't know the root password, and use the appropriate

mode to enter a root shell that doesn't require password. Set the root password to mypassword.

1. in the boot loader menu:


press e

2.at the end of the line begging with the Linux, at the end of this line, append the following:

init=/bin/sh

3.press ctrl-x

4.load the installed SELinux policy:

/usr/sbin/load_policy -i

5-execute the following command you root partition:

mount -o remount,rw /

6-reset the root password:

passwd root

7-remount the root partition:

mount -o remount,ro /

8-press ctrl-d

, Rhcsa 8 Final Questions With Solutions 100%
Correct
2. change runlevel? step1: check a default runlevel system configuration:


systemctl get-default

step2:set default runlevel target unit to multi-user:

systemctl set-default multi-user.target

step2:set default runlevel target unit to graphical:

systemctl set-default graphical.target

step4:reboot




or if you want to change runlevel without restarting:

systemctl isolate multi-user




3. set default values for new users. set default password validity to 90 days, and set the first UID

that is used for new users to 2000. vi /etc/login.defs


change the following values:

PASS_MAX_DAYS 90

UID_MIN 2000

Document information

Uploaded on
September 15, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StuviaTutors
3.3
(32)
Sold
150
Followers
22
Items
14656
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions