Modify the group to which a user belongs in Linux 1. Set a user's group usermod -g user group username Note: -g|--gid, modify the user's gid, the group must exist 2. Add the user to a group(s) usermod -a -G usergroup username Note: -a|--append, append the user to certain groups, only used with the -G option -G|--groups, add the user to certain groups, only used with the -a option Content Extension User Management Commands useradd Note: Add a user The above is all the content of this introduction. Thank you for your learning and support for 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed explanation of the use of Vue Smooth DnD, a draggable component of Vue
>>: MySQL 5.6.37 (zip) download installation configuration graphic tutorial
Rendering pipeline with external css files In the...
History of ZFS The Z File System (ZFS) was develo...
According to null-values, the value of null in My...
The JSON format field is a new attribute added in...
MySQL handles GROUP BY and DISTINCT queries simil...
1.1 Introduction By enabling the slow query log, ...
Table of contents Preface Why do we need to encap...
Now many mobile phones have the function of switc...
1. Create a repository in the specified directory...
Preface lvm (Logical Volume Manager) logical volu...
Table of contents Introduction to bootstrap and i...
Table of contents Why do we need a material libra...
JS implements a hover drop-down menu. This is a s...
1. Object-oriented class inheritance In the above...
Currently encountering such a problem My situatio...