To change the primary group of a user, the ________ command is utilized.
- usermod -g
- groupmod -g
- chgrp -p
- adduser -G
To change the primary group of a user, the "usermod -g" command is utilized. This command allows you to modify the primary group of an existing user. The "-g" option specifies the new primary group.
Loading...
Related Quiz
- Which Samba tool is used for checking the configuration file for errors?
- You've been tasked with setting up a Linux server that can share files with Windows clients in the network, ensuring they can access it seamlessly. Which software would you primarily consider installing?
- Which command is used to add a new user in Linux?
- Services in Linux that start at boot and run in the background are commonly referred to as _________.
- Which command is used to grant temporary elevated privileges in Linux?