Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

QUESTION 12 Every user account requires which of the following? O A directory O

ID: 3598921 • Letter: Q

Question

QUESTION 12 Every user account requires which of the following? O A directory O A login shell O A private group O A user ID O All of the above QUESTION 13 Given the following useradd instruction useradd -M -rsome account- /sbin/nologin -Gadm This account would belong to which groups? O adm only someaccount only O adm and someaccount O adm, nologin and someaccount O adm, someaccount and a private group QUESTION 14 Given the following useradd instruction useradd -M -Msome account /sbin/nologin -gaam The -M states t hat the account should Create a private group Have no directory O Use a default directory O Use"someaccount" as the comment field o Use the default values for user ID and group

Explanation / Answer

1)
ALL of the above

The account must require a directory and a login shell along with a private group and userID


2)
-M

The user home directory will not be created.And for

-N
A group having the same name as the user being added to the system will be created by default

We can assign different login shells to a each user with ‘-s‘ option.

useradd -M -N someaccount -s/sbin/nologin -g adm.

Hence the answer is

c)adm,someaccount.


3)
As we already discussed that the user home directory will not be created, and in even if the system wide settings from

/etc/login.defs is to create home dirs.

Have no directory.

HOPE THIS INFORMATION HELPS YOU.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote