From 1e5602360de0934624f2299d0bb694bc5122f45f Mon Sep 17 00:00:00 2001
From: Bertrand Neron <bneron@pasteur.fr>
Date: Wed, 7 Sep 2022 00:54:49 +0200
Subject: [PATCH] regroup user and group related command in User and grp
 management

---
 source/Installation/linux_admin.rst | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/source/Installation/linux_admin.rst b/source/Installation/linux_admin.rst
index 0a9bfe6..ba0ad24 100644
--- a/source/Installation/linux_admin.rst
+++ b/source/Installation/linux_admin.rst
@@ -136,9 +136,11 @@ with the command.
 
     sudo visudo
 
+User and Group management
+=========================
 
 Create a new user
-=================
+-----------------
 
 .. code-block:: shell
 
@@ -147,7 +149,7 @@ Create a new user
 Only root can perform this command.
 
 Delete a user
-=============
+-------------
 
 .. code-block:: shell
 
@@ -187,8 +189,8 @@ To do this use the `-r` option
         sudo userdel -rf username
 
 
-create new group
-================
+Create new group
+----------------
 
 .. code-block:: shell
 
@@ -199,14 +201,14 @@ Only root can perform this command.
 To take into account new user and group you need to logout and login again.
 
 Delete a Group
-==============
+--------------
 
 .. code-block:: shell
 
     sudo groupdel groupname
 
 Add an Existing User to a Group
-===============================
+-------------------------------
 
 .. code-block:: shell
 
@@ -231,7 +233,7 @@ It warns you only if the user or group doesn’t exist.
 Add username to group1 and group2 in one command
 
 Remove a User From a Group
-==========================
+--------------------------
 
 .. code-block:: shell
 
@@ -239,15 +241,15 @@ Remove a User From a Group
 
 
 Check you identity
-==================
+------------------
 
 whoami
-------
+""""""
 
 To know your login
 
 id
---
+""
 
 to know your
 
@@ -264,11 +266,11 @@ to know your
 
 
 Change password
-===============
+---------------
 
 
 To change your password
------------------------
+"""""""""""""""""""""""
 
 The command to use is `passwd`
 
@@ -283,7 +285,7 @@ The command to use is `passwd`
 
 
 To change the password of another user
---------------------------------------
+""""""""""""""""""""""""""""""""""""""
 
 Only root/sudoer can change the password for another user.
 
-- 
GitLab