Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 4 fuera de 47 páginas
Examen

RHCSA Exam 2025 Questions and Answers

Document preview thumbnail
Vista previa 4 fuera de 47 páginas

RHCSA Exam 2025 Questions and Answers

Vista previa del contenido

RHCSA Exam 2025 Questions and
Answers


how to add into sudoers user

how to setup sudo for a user - --CORRECT 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 - --CORRECT ANSWER--To

enable sudo access to the group named gourp01

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

configuring password ageing - --CORRECT ANSWER--chage command will do

this: m=maximum, W warning, I inactivity

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




....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1

,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.

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 - --CORRECT 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




....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2

,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

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 - --CORRECT 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


....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 3

, 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. - --

CORRECT ANSWER--1- virsh list --all

2-virsh start centos7.0

3- virsh edit centos7.0

on client command to mount nfs - --CORRECT ANSWER--mount -t nfs

<ipaddressofthenfs.server>:/nfs /mnt/nfs

on client command to mount smb - --CORRECT ANSWER--mount -t cifs

//ip/share /mnt/smb -o username=xyz,password=bvr

find grub to boot in a different kernel - --CORRECT ANSWER--grubby --

info=ALL

set grubby to index 5 - --CORRECT ANSWER--grubby --set-default-index=5

verify the boot grubby - --CORRECT ANSWER--grubby --default-index

logical volume create command - --CORRECT ANSWER--lvcreate -n <name> -L

3G <name vgroup>

volume group command - --CORRECT ANSWER--vgcreate <>vgname>

/dev/sdc /dev/sdb

....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 4

Información del documento

Subido en
3 de agosto de 2025
Número de páginas
47
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

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.
KatelynWhitman
3.6
(257)
Vendido
1229
Seguidores
485
Artículos
42526
Última venta
3 días hace



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