100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

rhcsa 8 exam with correct answers

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
14-08-2024
Written in
2024/2025

rhcsa 8 exam with correct answers

Institution
RHCSA
Module
RHCSA

Content preview

rhcsa 8 exam with correct answers
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. - Answer -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

2. change runlevel? - Answer -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. - Answer -vi /etc/login.defs
change the following values:
PASS_MAX_DAYS 90
UID_MIN 2000

4.create users edwin and santos and make them members of the group
livingopensource as a secondary group membership. Also, create users serene and

, alex and make them members of the group operation as a secondary group.grop -
Answer -1.useradd edwin
2.passwd edwin
3.useradd santos
4.usermod santos
5.useradd serene
6.usemod serene
7.useradd alex
8.passwd alex
9.groupadd livingopensource
10.groupadd operations
11.usermod -aG livingopensource edwin
12.usermod -aG livingopensource santos
13.usermod -aG operations serene
14.usermode -aG operations alex

5.Configure your host name, ip address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
ip Address:172.24.40.40/24
Gateway172.24.40.1
dns: 172.24.40.1 - Answer -1.#nmtui edit ens33
ipv4 configuration <manual>
addresses <172.24.40.40/40>
Gateway <172.24.40.1>
DNS severs <172.24.40.1>
quit
2.ifdown ens33
3.ifup ens33
4.hostnamectl set-hostname station.domain40.example.com

6.Create shared group directories/groups/livingopensource and /groups/operations, and
make sure the groups meet the following requirements:
■ Members of the group livingopensource have full access to their directory.
■ Members of the group operations have full access to their directory.
■ New files that are created in the group directories.
■ Others have no access to the group directories.
■ Members of the group operations have read access to the
directory/groups/livingopensource. - Answer -1.mikdr -p /groups/livingopensource
2.mikdir -p /groups/operations
3. chgrp livingopensource /groups/livingopensource
4. chgrp operations /groups/operations
5.chmod g+s /groups/livingopensource
6.chmod g+s /groups/operations

Written for

Institution
RHCSA
Module
RHCSA

Document information

Uploaded on
August 14, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

£8.50
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

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.
millyphilip West Virginia University
Follow You need to be logged in order to follow users or courses
Sold
2886
Member since
4 year
Number of followers
1957
Documents
43247
Last sold
1 day ago
white orchid store

EXCELLENCY IN ACCADEMIC MATERIALS ie exams, study guides, testbanks ,case, case study etc

3.6

547 reviews

5
237
4
87
3
104
2
31
1
88

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions