From 32f9681c6a19086fa0e1bf4dd426221da82d4c19 Mon Sep 17 00:00:00 2001 From: Suzana Fernandes Date: Wed, 18 Dec 2024 12:13:48 +0000 Subject: [PATCH] Fix code block in the new Security:UserManagement section (dsR10, r10) Change-Id: I8605c99db604f26032dd6ae556fcc6a7193572a1 Signed-off-by: Suzana Fernandes --- .../security/kubernetes/create-end-users-359693b84854.rst | 2 +- .../create-first-system-administrator-1775e1b20941.rst | 4 ++-- .../create-other-system-administrators-97b99bb94430.rst | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/source/security/kubernetes/create-end-users-359693b84854.rst b/doc/source/security/kubernetes/create-end-users-359693b84854.rst index f0ea3de75..d8ff4fa58 100644 --- a/doc/source/security/kubernetes/create-end-users-359693b84854.rst +++ b/doc/source/security/kubernetes/create-end-users-359693b84854.rst @@ -132,7 +132,7 @@ In the following example, creating end users consists of: .. code-block:: - $ sudo sed -i '$ a\\\*;\*;%ABC-EndUsers;Al0000-2400;denyssh' /etc/security/group.conf + $ sudo sed -i '$ a\*;*;%ABC-EndUsers;Al0000-2400;denyssh' /etc/security/group.conf #. Create a kubernetes namespace for the end user group. diff --git a/doc/source/security/kubernetes/create-first-system-administrator-1775e1b20941.rst b/doc/source/security/kubernetes/create-first-system-administrator-1775e1b20941.rst index 451d58776..db8710da9 100644 --- a/doc/source/security/kubernetes/create-first-system-administrator-1775e1b20941.rst +++ b/doc/source/security/kubernetes/create-first-system-administrator-1775e1b20941.rst @@ -61,10 +61,10 @@ it can create subsequent system administrators and end users. .. code-block:: # Execute this line only once, on each host - $ sudo sed -i '1i auth required `pam_group.so `__ use_first_pass}' /etc/pam.d/common-auth + $ sudo sed -i '1i auth required pam_group.so use_first_pass' /etc/pam.d/common-auth # Execute this line for each LDAP group being mapped to 1 or more local Linux groups, on each host - $ sudo sed -i '$ a\\\*;\*;%Level1SystemAdmin;Al0000-2400;sys_protected,root,sudo' /etc/security/group.conf + $ sudo sed -i '$ a\*;*;%Level1SystemAdmin;Al0000-2400;sys_protected,root,sudo' /etc/security/group.conf #. Add full kubernetes authorization privileges to the ``Level1SystemAdmin`` |LDAP| group members. diff --git a/doc/source/security/kubernetes/create-other-system-administrators-97b99bb94430.rst b/doc/source/security/kubernetes/create-other-system-administrators-97b99bb94430.rst index 055eabea6..c836865ca 100644 --- a/doc/source/security/kubernetes/create-other-system-administrators-97b99bb94430.rst +++ b/doc/source/security/kubernetes/create-other-system-administrators-97b99bb94430.rst @@ -89,7 +89,8 @@ In the following example, creating other system administrators consists of: .. code-block:: none - $ sudo sed -i '$a\\\*;\*;%Level2SystemAdmin;Al0000-2400;sys_protected,root' /etc/security/group.conf + $ sudo sed -i '$ a\*;*;%Level2SystemAdmin;Al0000-2400;sys_protected,root' /etc/security/group.conf + #. Add restricted kubernetes authorization privileges to the ``Level2SystemAdmin`` |LDAP| group members. @@ -153,7 +154,7 @@ In the following example, creating other system administrators consists of: .. code-block:: none - $ sudo sed -i '$ a\\\*;\*;%Level3SystemAdmin;Al0000-2400;users' /etc/security/group.conf + $ sudo sed -i '$ a\*;*;%Level3SystemAdmin;Al0000-2400;users' /etc/security/group.conf #. Add 'reader' Kubernetes authorization privileges to the ``Level3SystemAdmin`` |LDAP| group members.