GSNA · Question #110
GSNA Question #110: Real Exam Question with Answer & Explanation
The correct answer is C. It can change the default umask value. D. It is used to configure and control system-wide default variables.. The /etc/profile file is used to configure and control system-wide default variables. It performs many operations, some of which are as follows: Exporting variables Setting the umask value Sending mail messages to indicate that new mail has arrived Exporting variables Setting the
Question
Options
- AIt allows a system administrator to create a default home directory for all new users on a
- BA user can change the settings of the /etc/profile file, but he cannot delete the file. It can only be
- CIt can change the default umask value.
- DIt is used to configure and control system-wide default variables.
Explanation
The /etc/profile file is used to configure and control system-wide default variables. It performs many operations, some of which are as follows: Exporting variables Setting the umask value Sending mail messages to indicate that new mail has arrived Exporting variables Setting the umask value Sending mail messages to indicate that new mail has arrived Only the root user can configure and change the /etc/profile file for all users on the system. Answer: A is incorrect. The /etc/skel file allows a system administrator to create a default home directory for all new users on a computer or network and thus to make certain that all users begin with the same settings. When a new account is created with a home directory, the entire contents of /etc/skel are copied into the new home directory location. The home directory and its entire contents are then set to the new account's UID and GID, making the new user owner of the initial files. The system administrator can create files in /etc/skel that will provide a nice default environment for users. For example, he might create a /etc/skel/.profile that sets the PATH environment variable for new Answer: B is incorrect. Only the root user can change the settings of the /etc/profile file.
Community Discussion
No community discussion yet for this question.