53 lines
1.6 KiB
EmacsLisp
53 lines
1.6 KiB
EmacsLisp
;;; 103-user-management-quiz.el --- user-management-quiz
|
|
|
|
(defun linuxplus-user-management-quiz ()
|
|
"Quiz for Linux+ user and group management."
|
|
(interactive)
|
|
|
|
(linuxplus-start-quiz
|
|
'linuxplus-user-management-lesson
|
|
|
|
'((:type true-false
|
|
:prompt "The /etc/passwd file stores password expiration and aging information."
|
|
:answer false)
|
|
|
|
(:type true-false
|
|
:prompt "The /etc/group and /etc/passwd files are useful when troubleshooting group membership issues."
|
|
:answer true)
|
|
|
|
(:type true-false
|
|
:prompt "Running usermod -G developers bob always preserves existing supplementary groups."
|
|
:answer false)
|
|
|
|
(:type true-false
|
|
:prompt "The command usermod -aG wheel bob appends bob to the wheel group."
|
|
:answer true)
|
|
|
|
(:type true-false
|
|
:prompt "The file /etc/login.defs can define UID ranges and password aging defaults."
|
|
:answer true)
|
|
|
|
(:type true-false
|
|
:prompt "The command groupmod -n NewName OldName renames a Linux group."
|
|
:answer true)
|
|
|
|
(:type true-false
|
|
:prompt "The x shown in /etc/passwd means the account has no password."
|
|
:answer false)
|
|
|
|
(:type true-false
|
|
:prompt "The id command can display UID, GID, and group memberships."
|
|
:answer true)
|
|
|
|
(:type yes-no
|
|
:prompt "Is a mobile authenticator generating one-time passwords an example of a software token?"
|
|
:answer yes)
|
|
|
|
(:type yes-no
|
|
:prompt "Should /etc/profile be checked first when verifying UID and group membership problems?"
|
|
:answer no))
|
|
|
|
"*Linux+ User Management Quiz*"))
|
|
|
|
;;; 103-user-management-quiz.el ends here
|