MCQOPTIONS
Saved Bookmarks
This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
BY_DEFAULT,_A_LINUX_USER_FALLS_UNDER_WHICH_GROUP??$ |
| A. | staff |
| B. | others |
| C. | same as userid (UPG) |
| D. | system |
| Answer» D. system | |
| 2. |
Which of the following files need to be referred for user’s secondary group?$# |
| A. | /etc/passwd |
| B. | /etc/shadow |
| C. | /etc/group |
| D. | /etc/profile |
| Answer» D. /etc/profile | |
| 3. |
What does the following command do ? |
| A. | |
| B. | List the number of users logged in |
| C. | List the users |
| Answer» B. List the number of users logged in | |
| 4. |
The /etc/passwd file doesn’t contain$ |
| A. | userid |
| B. | home directory for a user |
| C. | login shell name |
| D. | none of the mentioned |
| Answer» E. | |
| 5. |
A user can change the default log-in shell using |
| A. | chmod |
| B. | chsh |
| C. | rmsh |
| D. | tchsh |
| Answer» C. rmsh | |
| 6. |
User’s Primary Group id is listed in which file, at the time of creation of the user (On a standard Unix system) |
| A. | /etc/passwd |
| B. | /etc/groups |
| C. | /etc/login |
| D. | /etc/profile |
| Answer» B. /etc/groups | |