Reset root password - ACCURATE ANSWER1. 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 ...
RHCSA EXAM PRACTICE TEST
WITH ACCURATE ANSWERS
Reset root password - ACCURATE ANSWER✅✅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 IP Address, Gateway, and Hostname
- IP: 192.168.0.10
- Gateway: 192.168.0.254
- Hostname: server1.example.com - ACCURATE ANSWER✅✅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 - ACCURATE ANSWER✅✅1. # lsblk
2. choose unused disk
3. # fdisk /dev/diskname
4. n
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 EXAMLINKS. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.