RHCSA Exam Study Guide with Complete Solutions (All Correct)
4 views 0 purchase
Course
RHCSA
Institution
RHCSA
RHCSA Exam Study Guide with
Complete Solutions (All Correct)
how to add into sudoers user
how to setup sudo for a user - Answer️️ -echo /etc/sudoers.d/user01 >>
user01 ALL=(ALL) ALL
you can do like this....OR
in the file user20 ALL=(ALL) NOPASSWD:ALL
usermod -aG wheel user
visudo ...
6- change the password policy for the consultant account to require a new
pass every 15 days
7-Set the passwords to expire 180 days from the current date for all users.
Use administrative rights to edit the configuration file.
8- The chown command can also be used to change group ownership of a
file by preceding the group name with a colon (:). For example, the
following command changes the group test_dir to admins:
9-The chown command can also be used to change both owner and group
at the same time
10- how to unlock the user - Answer✔️✔️-1- chage -d 0 user01
2- chage -l user01
3- i- # date -d "+45 days" +%F
ii # chage -E 2020-10-01 user01
4- chage -L -e 2019-0-05 user01
5- usermod -s /sbin/nologin user01
6- chage -M 15 consultant
7-Set PASS_MAX_DAYS to 180in/etc/login.defs. Use administrative rights
when opening the file with the text editor. You can use the sudo vim
/etc/login.defs command to perform this step.
volume group command - Answer✔️✔️-vgcreate <>vgname> /dev/sdc
/dev/sdb
extend the partition - Answer✔️✔️-lvextend -L +200M
/dev/RHCSA/pinehead
show link statistics
how to check the routes
trace path - Answer✔️✔️-ip -s link show ens3
ip route /ip -6 route
tracepath access.redhat.com
Troubleshooting ports - Answer✔️✔️-ss -ta
ss -la
4
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 SophiaBennett. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.