• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

RHCSA Exam Practice | 2023/24

Document preview thumbnail
Preview 2 out of 7 pages

RHCSA Exam Practice | 2023/24 Reset root password - 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 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 IP Address, Gateway, and Hostname - IP: 192.168.0.10 - Gateway: 192.168.0.254 - Hostname: - 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 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 - 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. # 4 /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 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 abl


Document information

Uploaded on
October 2, 2023
Number of pages
7
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$9.49

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.
STUVEX
3.8
(123)
Sold
835
Followers
314
Items
16233
Last sold
2 days 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

Whoops! We can’t load your doc right now. Try again or contact support.