RHCSA EX200 Solved 100% Correct 2024
1. cmd to install sealert.
2. Why is sealert helpful
3. Where is the sealert log directory - ANS-1. yum install setroubleshoot-server -y
2. sealert makes it easier to read SELinux messages
3. written to /var/log/messagesclear
1. what is the tar utility?
2. how would you create an archive?
3. how would you extract an archive?
4. how would you extract one file from an archive? - ANS-1. Utility used to create
archives
2. tar -cf [archivename.tar]
3. tar -xvf [archivename.tar]
4. tar-xvf [archivename.tar] [filename]
1. what tool(s) can you use to edit network connections?
2. where are the network connection files stored? - ANS-1. nmcli - cmd line tool, nmtui -
text interface tool
2. /etc/sysconfig/network-scripts
cmd to add 75% of all free disk space to the logical volume - ANS-lvresize -r -l
+75%FREE
cmd to add 75% of the total volume group size to the logical volume - ANS-lvresize -r -l
+75%VG (path to logical volume)
cmd to add a filesystem to a device - ANS-mkfs.(file system) (device)
mkfs -t (file system) (device)
cmd to apply context label "type" policy on a directory - ANS-semanage -a -t (context
type) "[directory](/.*)?"
cmd to change an SELinux boolean value permanently - ANS-setsebool (context type)
(on/off) -P
cmd to change attributes - ANS-chattr
cmd to change file ownership - ANS-chown
cmd to change users primary group - ANS-newgrp
cmd to discover files on the system - ANS-find
cmd to display information about kernel modules - ANS-modinfo
, cmd to download kernel - ANS-yumdownloader kernel (will download an rpm package)
cmd to get a list of SELinux booleans - ANS-semanage boolean -l
cmd to list attributes - ANS-lsattr
cmd to list currently loaded kernel module - ANS-lsmod
cmd to list kernel updates - ANS-yum list kernel
cmd to load kernel modules and all of their dependencies - ANS-modprobe
cmd to reduce logical volume by 100M - ANS-lvreduce -r -L -100M (path to logical
volume)
cmd to resize logical volume to 75% of free disk space - ANS-lvresize -r -l 75%FREE
cmd to resize volume group to 75% of its total disk space - ANS-lvresize -r -l 75%VG
(path to logical volume)
cmd to set group password - ANS-gpasswd
cmd to setup virtualization - ANS-yum groupinstall -y "Virtualization Host"
cmd to unload kernel modules, considers their dependencies - ANS-modprobe -r
cmd to write context label to file system - ANS-restorecon -R -v (directory)
command for modifying user properties - ANS-usermod
command to add users to the system - ANS-useradd
command to change user password expiry information - ANS-chage
command to copy the public key to the target server - ANS-ssh-copy-id
[username]@[ipaddress]
command to create groups - ANS-groupadd
command to get info about a user account - ANS-id [username]
command to modify groups - ANS-groupmod
command to remove users from the system - ANS-userdel
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 CLOUND. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.