Ndg Ch 16 ?s

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?

-G

Which of the following options for the useradd command allows you to use a different primary group then the default?

-g

Which option for the usermod command can be used to specify a user's primary group ID?

-g

Which of the following options for the useradd command allows you to use a different login shell than the default?

-s

Which of the following options for the useradd command allows root to specify the UID to be associated with the account?

-u

The userdel -r command will...

...automatically delete a user and the user's home directory and mail spool and their contents.

Which of the following files contains group IDs?

/etc/group

Which of the following files does the groupadd command use to determine the new GID when a GID isn't specified?

/etc/group

Which of the following files contains encrypted user password information?

/etc/shadow

For root users, the passwd command can only be used to change the password of the user running the command. True or False?

False

On a system that does not use UPG, the useradd command will also create a user group. For example, user bob, group bob. True or False?

False

The /etc/passwd file contains encrypted user password information. True or False?

False

The groupmod command can be used to add users to a group. True or False?

False

The groupmod command cannot be used to change a group GID. True or False?

False

The groupdel command can be used to delete primary groups. True or False?

Flase

GIDs under 500 (or 1000) are usually reserved for what kind of groups?

System use

On a system that uses UPG, the UID must not be the same as the GID.. True or False?

True

The groupmod command can be used to change a group GID. True or False?

True

The groupmod command can be used to change a group name. True or False?

True

Which of the following commands can be used to modify a group?

groupmod

Which command can be used to determine a user's most recent log in?

last

Which command allows you to view or change some of the default values used by the useradd command?

useradd -D

Which of the following commands can be used to modify a user?

usermod

Which of the following commands, run as root, will prevent the user bob from logging in?

usermod -L bob

Which of the following commands will add the group extra to the user bob's secondary groups in addition to bob's current secondary groups?

usermod -aG extra bob

Which of the following commands will add the group extra to the user jane's secondary groups in addition to jane's current secondary groups?

usermod -aG extra jane

The usermod command can be used to unlock a users account with the following option.

-U

Which option for the usermod command can be used to specify a user's group ID (either primary or secondary)?

-g -G

If a user is deleted, the files and directories that the user owned...

...may be important for others in the organization ...will show a UID as the owner, but not user name....may be important for others in the organization

Which of the following files contains user IDs?

/etc/passwd

What directory contains a user's home directory?

/home

UIDs 1-499 are usually reserved for what kind of users?

System accounts, such as server processes

For non-root users, the passwd command can only be used to change the password of the user running the command. True or False?

True

Which of the following commands, run as root, will prevent the user jane from logging in?

usermod -L jane


Ensembles d'études connexes

NUT 2043 Chapters 5-9 homework study guide

View Set

MS 1: Management of Patients with Musculoskeletal Disorders

View Set

Sociology Chapter 12 Sections 3 and 4

View Set

Abeka English 10 Appendix Quiz J

View Set

CH 21,35 (Health Promotion of the Infant/Muskuloskeletal Conditions)

View Set

Dr. J Anatomy - Lecture Quiz 11 (Brachial Plexus/Terminal Branches)

View Set

MDA 142 Final Exam (Ch. 48, 49, 54, 55, 56, 57)

View Set