Which option for the usermod command can be used to specify a user's group ID (either primary or secondary)? (choose two)

Question image

Understand the Problem

The question is asking which options for the 'usermod' command in a Linux-like environment can be used to specify a user's group ID. The user needs to choose two correct options.

Answer

-g and -G

The final answer is -g and -G

Answer for screen readers

The final answer is -g and -G

More Information

The -g option is used for setting a user's primary group ID, while the -G option sets additional, secondary group IDs for the user.

Tips

Ensure not to confuse -g (primary) with -G (secondary), as case sensitivity is important in Unix/Linux environments.

Sources

AI-generated content may contain errors. Please verify critical information

Thank you for voting!
Use Quizgecko on...
Browser
Browser