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 groupExplanation / 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.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.