• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

Novell Linux Ch 4

Document preview thumbnail
Preview 2 out of 5 pages

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

Content preview

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

Document information

Uploaded on
August 14, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TOPDOCTOR
5.0
(1)
Sold
10
Followers
5
Items
3387
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions