Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
The /etc/group file is a text file that defines the groups and their members on the system. Each line in the file represents a single group, with the following format:
group_name:password:GID:user_list
The fields are:
group_name: the name of the group
password: the (encrypted) group password, or empty for no password
GID: the numerical group ID
user_list: a comma-separated list of users who belong to the group
Therefore, the fields that can be found in the /etc/group file are the name of the group, the password of the group, and the list of users that belong to the group. The home directory and the description of the group are not part of the /etc/group file format.Reference:
/etc/group file format | Linux#
Which of the following protocols is designed to access the video card output of a virtual machine?
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)
The /usr/share/zoneinfo directory contains the binary time zone files that are used by the system to determine the local time for any region. The files are organized in subdirectories by continent, country, or ocean. Some files represent the standard time zones, while others may have historical or political variations. To set the system's timezone, one can create a symbolic link from /etc/localtime to the appropriate file in the /usr/share/zoneinfo directory. For example, to set the timezone to America/New_York, one can use the command sudo ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime. Alternatively, one can use the timedatectl command to set the timezone without creating the link manually.Reference:
How to Set or Change the Time Zone in Linux | Linuxize
4 Ways to Change the Timezone in Linux - wikiHow