What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)A . The user bob is removed from the system's user database.B . The user bob's home directory is removed.C . The locate database is updated to drop files owned by bob.D . All files owned by...
Which command can be used to investigate the properties for a particular window in X by clicking that window?
CORRECT TEXT Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: /usr/bin/xwininfo, xwininfo
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory?
CORRECT TEXT - (Topic 3) The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)View AnswerAnswer: /usr/share/zoneinfo/
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command?
CORRECT TEXT By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)View AnswerAnswer: /etc/skel
Which of the following is the best way to list all defined shell variables?
Which of the following is the best way to list all defined shell variables?A . envB . setC . env -aD . echo $ENVView AnswerAnswer: B
Which of the following files assigns a user to its primary group?
Which of the following files assigns a user to its primary group?A . /etc/pgroupB . /etc/shadowC . /etc/groupD . /etc/passwdE . /etc/gshadowView AnswerAnswer: D
CORRECT TEXT - (Topic 3)
CORRECT TEXT - (Topic 3) The ________ command is used to add a group to the system.View AnswerAnswer: groupadd, /usr/sbin/groupadd
Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created?
CORRECT TEXT - (Topic 1) Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)View AnswerAnswer: /etc/skel, /etc/skel/
Which file would you edit to achieve this?
Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?A . /etc/X11/xdm/XsetupB . /etc/X11/xdm.confC . /etc/X11/xdm/DefaultsD . /etc/X11/defaults.confView AnswerAnswer: A
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)A . The user issuing the command must be in the group script.B . The script file must be found in the $PATD . The...