100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

RHCSA Exam Study Guide with Complete Solutions (All Correct)

Puntuación
-
Vendido
-
Páginas
43
Grado
A+
Subido en
28-08-2024
Escrito en
2024/2025

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 -- %wheel ALL=(ALL) ALL how to add the sudoers group and give access - Answer️️ -To enable sudo access to the group named gourp01 echo /etc/sudoers.d/group01 %group01 ALL=(ALL) AL configuring password ageing - Answer️️ -chage command will do this: m=maximum, W warning, I inactivity 1- force user to change the password on the next login 2- display the information about user 3- expire account on 2-2-2020 4-command to expire the account and lock the command in same command. ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 2 5- asign no login shell 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 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/. Use administrative rights when opening the file with the text editor. You can use the sudo vim /etc/ command to perform this step. 8-chown :admins test_dir ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 9-chown visitor:guests test_dir #chown filename 10- usermod -U username 1- how to zip a directory 2- how to tar the folder 3- how to uncompress .tar file 4-by bzip2 compress the file anme testfile 5-unzip bzip2 file - Answer️️ -1- tar -zcvf /folder 2- tar -cvf /foler 3- tar -xvf 4- bzip2 testfile 5- bzip2 -d virtual machine activity : 1- how to list the vm 2- stop start the vm 3- check the information about the vm, storage and other information. - Answer️️ -1- virsh list --all 2-virsh start centos7.0 3- virsh edit centos7.0 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 4 on client command to mount nfs - Answer️️ -mount -t nfs r:/nfs /mnt/nfs on client command to mount smb - Answer️️ -mount -t cifs //ip/share /mnt/smb -o username=xyz,password=bvr find grub to boot in a different kernel - Answer️️ -grubby --info=ALL set grubby to index 5 - Answer️️ -grubby --set-default-index=5 verify the boot grubby - Answer️️ -grubby --default-index logical volume create command - Answer️️ -lvcreate -n name -L 3G name vgroup volume group command - Answer️️ -vgcreate vgname /dev/sdc /dev/sdb extend the partition - Answer️️ -lvextend -L +200

Mostrar más Leer menos
Institución
RHCSA
Grado
RHCSA

Vista previa del contenido

©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM


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 --> %wheel ALL=(ALL) ALL

how to add the sudoers group and give access - Answer✔️✔️-To enable sudo
access to the group named gourp01

echo /etc/sudoers.d/group01 >> %group01 ALL=(ALL) AL

configuring password ageing - Answer✔️✔️-chage command will do this:
m=maximum, W warning, I inactivity

1- force user to change the password on the next login

2- display the information about user

3- expire account on 2-2-2020

4-command to expire the account and lock the command in same
command.



1

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

5- asign no login shell

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.

8-chown :admins test_dir


2

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

9-chown visitor:guests test_dir

#chown owner.group filename

10- usermod -U <username>

1- how to zip a directory

2- how to tar the folder

3- how to uncompress .tar file

4-by bzip2 compress the file anme testfile

5-unzip bzip2 file - Answer✔️✔️-1- tar -zcvf archive.tar.gz /folder

2- tar -cvf archive.tar.gz /foler

3- tar -xvf archine.tar.gz

4- bzip2 testfile

5- bzip2 -d

virtual machine activity :

1- how to list the vm

2- stop start the vm

3- check the information about the vm, storage and other information. -
Answer✔️✔️-1- virsh list --all

2-virsh start centos7.0

3- virsh edit centos7.0



3

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

on client command to mount nfs - Answer✔️✔️-mount -t nfs
<ipaddressofthenfs.server>:/nfs /mnt/nfs

on client command to mount smb - Answer✔️✔️-mount -t cifs //ip/share
/mnt/smb -o username=xyz,password=bvr

find grub to boot in a different kernel - Answer✔️✔️-grubby --info=ALL

set grubby to index 5 - Answer✔️✔️-grubby --set-default-index=5

verify the boot grubby - Answer✔️✔️-grubby --default-index

logical volume create command - Answer✔️✔️-lvcreate -n <name> -L 3G
<name vgroup>

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

Escuela, estudio y materia

Institución
RHCSA
Grado
RHCSA

Información del documento

Subido en
28 de agosto de 2024
Número de páginas
43
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$12.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
SophiaBennett Howard Community College
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
140
Miembro desde
1 año
Número de seguidores
5
Documentos
9098
Última venta
2 semanas hace
EXAM GAME-CHANGER

Exam Questions and Answers Section : Study Like a Pro, Study Smart, Study with Sophia.

3.7

26 reseñas

5
10
4
5
3
7
2
1
1
3

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes