Which of the following statements about the /etc/profile file are true?
Each correct answer represents a complete solution. Choose all that apply.
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 users.
Answer B is incorrect. Only the root user can change the settings of the /etc/profile file.
Currently there are no comments in this discussion, be the first to comment!