MCQ Academy - English
Free Online MCQ Practice Tests in English
Popular Quiz Papers
Latest Quizzes
Usernames cannot be the same as group names.(True or False?)
- False
What would an account with the UID 376 typically be used for?
- System service access.
Traditional UNIX systems allowed users to belong to how many groups?
- 16
Which command is used to display only the user’s primary group?
- id -g
File permissions cannot be edited by the root user. (True or False?)
- False
Which command would allow a user to execute commands as root?
- sudo
What is the default user for the su command?
- The root user
All Linux systems allow administrators to log in as root. (True or False?)
- False
Which command can be used to view the /etc/passwd file entries?
- getent
Which of the following commands will display how long the system has been running since the last boot?(choose two)
- uptime
- w
The /etc/shadow file contains plain-text passwords. (True or False?)
- False
In distributions that do not allow the root user to login directly or via the su command, the installation process automatically configures one user account to be able to use the sudo command to execute commands as if they were executed by the root user. (True or False?)
- True
True
- True
A user can belong to…
- At least 16 groups
A GID is associated with a group name. (True or False?)
- True
The /etc/group file follows what structure?
- group_name:password_placehoder:GID:user_list
Which of the following commands will display the groups that the user bob belongs to?
- id bob
Which of the following commands will display the group(s) a user belongs to?
- id
The Sudo command allows regular users to…
- …execute commands as another user.
Which command will display the users that are currently logged in to the system?
- who
