You need to create a user on your red hat enterprise linux system. what command should you use?7/12/2023 When you use an uppercase -G, as above, you assign a new secondary group. When you use a lowercase g, you assign a primary group. To change the primary group a user is assigned to, run the usermod command, replacing examplegroup with the name of the group you want to be the primary and exampleusernamewith the name of the user account. ![]() While a user account can be part of multiple groups, one of the groups is always the “primary group” and the others are “secondary groups”. The user’s login process and files and folders the user creates will be assigned to the primary group. ![]() For example, to add the user geek to the group sudo, use the following command: usermod -a -G sudo geek
0 Comments
Leave a Reply. |