RHCSA Actual Exam| A+ Grade| 262 Questions
with Answers Verified 100% Correct | Latest
Update
What is a GID? - ✔✔A Group ID number that is unique to a group on a local machine.
What is a UID? - ✔✔A User ID number that is unique to a user on a local machine.
What item represents a number that identifies users at the most fundamental level? -
✔✔UID
What item represents the program that provides the user's command-line prompt? -
✔✔Login shell
What is the location of the local group information? - ✔✔/etc/group
What is the location of the user's personal files? - ✔✔/home/<user>
What item represents a number that identifies the group at the most fundamental level? -
✔✔GID
Where is the location of the local user account information? - ✔✔/etc/passwd
Where can you find a user's primary group information? - ✔✔/etc/passwd
How do you switch users? - ✔✔su - <new user>
,What is the difference between using "su" and "su -"? - ✔✔"su" starts a non-login shell,
keeping the original user's environment settings.
"su -" starts a login shell, as if the new user was the one originally signing in with their own
environment settings.
What tool can you use to execute commands as root? - ✔✔sudo
How do you make changes to a user account? - ✔✔usermod
How do you lock a user account? - ✔✔usermod -L <user>
How do you display the last 10 lines of a file? - ✔✔tail <file>
How do you display the first 10 lines of a file? - ✔✔head <file>
Where is the main configuration file for sudo? - ✔✔/etc/sudoers
How would you display the value of a variable? - ✔✔echo $<VARIABLE>
How do you display the first 5 lines of a file? - ✔✔head -5 <file>
How do you display the last 15 lines of a file? - ✔✔tail -15 <file>
How do you create a user? - ✔✔useradd <new user>
, How do you change a user's primary group? - ✔✔usermod <user> -g <group>
How do you change a user's supplementary groups? - ✔✔usermod <user> -G <groups>
How do you add more groups to a user's supplementary groups? - ✔✔usermod <user> -aG
<groups>
How do you specify a home directory for a user account? - ✔✔usermod <user> -d <new
home directory>
How do you move a user's home directory? - ✔✔usermod <user> -dm <new home directory
path>
How do you unlock a user account? - ✔✔usermod -U <user>
How do you delete a user? - ✔✔userdel <user>
How do you delete a user and their home directory? - ✔✔userdel -r <user>
How do you change the password for a user? - ✔✔passwd <user>
What account is always assigned UID 0. - ✔✔root
How do you create a group? - ✔✔groupadd <group>
How do you delete a group? - ✔✔groupdel <group>
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 Examsplug. 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.