100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Exam 2024: Questions & Expert Solutions $10.99   Add to cart

Exam (elaborations)

RHCSA Exam 2024: Questions & Expert Solutions

 1 view  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Exam 2024: Questions & Expert Solutions

Preview 2 out of 9  pages

  • October 24, 2024
  • 9
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA Exam 2024: Questions & Expert Solutions

Configure IP Address, Gateway, and Hostname
- IP: 192.168.0.10
- Gateway: 192.168.0.254
- Hostname: server1.example.com Right Ans - 1. # ip addr show - to view
the current IP
2. # hostnamectl - to view the current hostname
3. # nmtui - to set a new hostname and new IP for the host
4. Select Edit a connection
5. Go to the internet interface (e.g.: eth0)
6. Go to IPv4 CONFIGURATION and change <Automatic> to <Manual>
7. Addresses <Add>
8. type 192.168.0.10
9. Go to Gateway
10. type 192.168.0.254
11. Go all the way down to <Ok>
12. Select <Quit>
13. # nmtui
14. Select Activate a connection
15. Select the internet interface and activate it
16. # ip addr show - to verify the IP change
17. # ip route - to verify the gateway change
18. # nmtui
19. Set system hostname
20. type server1.example.com
21. Click Ok to exit
22. # hostname - to verify hostname change
23. # reboot

Create ext4 file system partition and mount it in a directory
- Your system should have a new 500MiB physical partition mounted
under /mnt/new with a 500MB ext4 filesystem Right Ans - 1. # lsblk
2. choose unused disk
3. # fdisk /dev/diskname
4. n
5. p
6. Enter
7. Enter

, 8. +500M
9. Enter
10. p
11. w
12. # partprobe /dev/diskname
13. # lsblk - to verify partition creation
14. # mkfs.ext4 /dev/newpartitionname
15. # mkdir /mnt/new
16. # mount /dev/newpartitionname /mnt/new
17. # blkid /dev/newpartitionname
18. copy the UUID
19. # vim /etc/fstab
20. UUID=... /mnt/new ext4 defaults 0 0
21. # reboot

Reset root password Right Ans - 1. Before the system starts up, interrupt
the boot process by pressing E
2. Go to the end of the line that starts with 'Linux16'
3. type rd.break
4. Press CTRL+X
5. type mount -o remount,rw /sysroot
6. Enter
7. type chroot /sysroot
8. type passwd root
9. Assign a new password
10. touch /.autorelabel
11. Enter
12. exit twice
13. Allow the system to reboot and then login with the new root password

Configure Permissions
*Copy the file /etc/fstab to /var/tmp so that:*
- the file /var/tmp/fstab is owned by the root user
- the file /var/tmp/fstab belongs to the group root
- the file /var/tmp/fstab should not be executable by anyone
- the user andrew is able to read and write /var/tmp/fstab
- the user susan can neither write nor read
- all other users (current or future) have the ability to read /var/tmp/fstab
Right Ans - 1. # cp /etc/fstab /var/tmp

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller LeCrae. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

85651 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.99
  • (0)
  Add to cart