• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Examen

Novell Linux Ch 4

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

What command can you use to list the package in the RPM database that the /etc/hosts file belongs to? - answer-rpm -qf /etc/hosts Which of the following can be used to automatically obtain software packages from internet software repositories? (Choose all that apply) A) yum B) et C) apt-get D) yast -i - answer-A) yum C) apt-get D) yast -i What command can you use to rebuild the RPM database? - answer-rpm --rebuild You have downloaded the source code for a program that you wish to compile. Which command must you first run in the source code directory? A) ./configure B) make C) make file D) make install - answer-A) ./configure Which of the following commands can be used to list the shared libraries used by the Bash shell (/bin/bash)? A) ldconfig -v /bin/bash B) ldd -v /bin/bash C) rpm -ivh /bin/bash D) rpm-ql /bin/bash - answer-B) ldd -v /bin/bash Which of the following are always stored in the /etc/passwd file? (Choose all that apply) A) encrypted user passwords B) user home directory locations C) the default shell that each user uses D) primary groups for each user - answer-B) user home directory locations C) the default shell that each user uses D) primary groups for each user When you check the /etc/shadow file on your system, you notice that the date of the last password change is 12904. What does this number represent? A) The number of days since installation of the operating system B) December 9th 2004 C) The number of days since Jan 1st 1970 D) February 29th 2001 - answer-C) The number of days since Jan 1st 1970 Which of the following files are used to obtain default user account settings when you create a user with the useradd command? (Choose all that apply) A) /etc/ B) /etc/lt C) /etc/default/useradd D) /etc/skel - answer-A) /etc/ C) /etc/default/useradd You have a file called "Policies&P" that you wish to place in the home directories of all newly created users. What directory should you place this file in? - answer-/etc/skel After creating a new user account, what must you do to allow the user to log in to the system? - answer-Assign the user a password What two commands below can be used to create the group acctg and add the user bob to it? A) groupadd --p acctg B) groupadd acctg C) groupmod --A bob acctg D) groupmod --A acctg bob - answer-B) groupadd acctg C) groupmod --A bob acctg What command can be used to list the users who have logged into the system recently but who are not currently logged in? A) last B) who C) w D) btmp - answer-A) last Which of the following file permissions gives the group owner the ability to edit the file contents? (Choose all that apply) A) rw-rw-r-x B) rw-r-x-r-x C) rw-r--r-x D) r--rw-r-x - answer-A) rw-rw-r-x D) r--rw-r-x What single command could you use to change the owner to bob and the group owner to acctg for the file /etc/yearend? - answer-chown /etc/yearend

Vista previa del contenido

Novell Linux Ch 4
What command can you use to list the package in the RPM database that the /etc/hosts file belongs to?
- answer-rpm -qf /etc/hosts

Which of the following can be used to automatically obtain software packages from internet software
repositories? (Choose all that apply)

A) yum
B) et
C) apt-get
D) yast -i - answer-A) yum
C) apt-get
D) yast -i

What command can you use to rebuild the RPM database? - answer-rpm --rebuild

You have downloaded the source code for a program that you wish to compile. Which command must
you first run in the source code directory?

A) ./configure
B) make
C) make file
D) make install - answer-A) ./configure

Which of the following commands can be used to list the shared libraries used by the Bash shell
(/bin/bash)?

A) ldconfig -v /bin/bash
B) ldd -v /bin/bash
C) rpm -ivh /bin/bash
D) rpm-ql /bin/bash - answer-B) ldd -v /bin/bash

Which of the following are always stored in the /etc/passwd file? (Choose all that apply)

A) encrypted user passwords
B) user home directory locations
C) the default shell that each user uses
D) primary groups for each user - answer-B) user home directory locations
C) the default shell that each user uses
D) primary groups for each user

When you check the /etc/shadow file on your system, you notice that the date of the last password
change is 12904. What does this number represent?

A) The number of days since installation of the operating system

, B) December 9th 2004
C) The number of days since Jan 1st 1970
D) February 29th 2001 - answer-C) The number of days since Jan 1st 1970

Which of the following files are used to obtain default user account settings when you create a user with
the useradd command? (Choose all that apply)

A) /etc/login.defs
B) /etc/useradd.default
C) /etc/default/useradd
D) /etc/skel - answer-A) /etc/login.defs
C) /etc/default/useradd

You have a file called "Policies&Proceedures.txt" that you wish to place in the home directories of all
newly created users. What directory should you place this file in? - answer-/etc/skel

After creating a new user account, what must you do to allow the user to log in to the system? - answer-
Assign the user a password

What two commands below can be used to create the group acctg and add the user bob to it?

A) groupadd --p acctg
B) groupadd acctg
C) groupmod --A bob acctg
D) groupmod --A acctg bob - answer-B) groupadd acctg
C) groupmod --A bob acctg

What command can be used to list the users who have logged into the system recently but who are not
currently logged in?

A) last
B) who
C) w
D) btmp - answer-A) last

Which of the following file permissions gives the group owner the ability to edit the file contents?
(Choose all that apply)

A) rw-rw-r-x
B) rw-r-x-r-x
C) rw-r--r-x
D) r--rw-r-x - answer-A) rw-rw-r-x
D) r--rw-r-x

What single command could you use to change the owner to bob and the group owner to acctg for the
file /etc/yearend? - answer-chown bob.acctg /etc/yearend

Información del documento

Subido en
14 de agosto de 2024
Número de páginas
5
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.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.
TOPDOCTOR
5.0
(1)
Vendido
10
Seguidores
5
Artículos
3387
Última venta
1 año 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