To add user eric to the docker group, an administrator runs usermod -G docker eric. Afterwards eric has lost access to the sudo and finance groups. What should have been typed?
Pour ajouter l'utilisateur eric au groupe docker, un administrateur lance usermod -G docker eric. Ensuite, eric a perdu l'accès aux groupes sudo et finance. Qu'aurait-il fallu taper ?
Answers
Ausermod -g docker ericusermod -g docker eric
Bgroupdel docker ericgroupdel docker eric
Cuseradd docker ericuseradd docker eric
Dusermod -aG docker ericusermod -aG docker eric
The answer and explanation are in the full bank.
This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.
Unlock for 5,000 RWFMIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·3 marks·Hard
More Operating Systems questions
- You need to print the whole contents of a file. Which command does that?
- What does the Linux command `uname` do?
- What does the Linux command `chmod` do?
- On a Linux system, what does /boot contain?
- What does the Linux command `ping` do?
- What does the Linux command `ps` do?
- What does the Linux command `tar` do?
- You need to search a directory tree for files matching criteria. Which command does that?