diff --git a/tasks/alp-post-deployment-considerations.xml b/tasks/alp-post-deployment-considerations.xml index a2694ff14..f942fa30d 100644 --- a/tasks/alp-post-deployment-considerations.xml +++ b/tasks/alp-post-deployment-considerations.xml @@ -33,7 +33,7 @@ During the &productnameshort; deployment, you entered a password that is used for disk encryption. To change the password, run the following command: -&prompt.root;fdectl passwd +&prompt.sudo;fdectl passwd
TPM device @@ -75,7 +75,7 @@ To set &selnx; to the permissive mode temporarily, run: -&prompt.root;setenforce 0 +&prompt.sudo;setenforce 0 To set &selnx; to the permissive mode permanently, edit @@ -91,8 +91,8 @@ system: -&prompt.root;touch /etc/selinux/.autorelabel -&prompt.root;reboot +&prompt.sudo;touch /etc/selinux/.autorelabel +&prompt.sudo;reboot @@ -107,15 +107,15 @@ tcontext=system_u:system_r:modemmanager_t:s0 tclass=qipcrtr_socket permissive=0 To filter such messages, you can use the following commands: -&prompt.root;tail -f /var/log/audit/audit.log | grep -i AVC +&prompt.sudo;tail -f /var/log/audit/audit.log | grep -i AVC and -&prompt.root;journalctl -f | grep -i AVC +&prompt.sudo;journalctl -f | grep -i AVC For more advanced search, use the following command: -&prompt.root;ausearch -m avc,user_avc,selinux_err -i +&prompt.sudo;ausearch -m avc,user_avc,selinux_err -i If such messages appear while using the application that did not behave correctly when &selnx; was set to the enforce mode, the policies are too restrictive and need updating. You @@ -136,22 +136,24 @@ tcontext=system_u:system_r:modemmanager_t:s0 tclass=qipcrtr_socket permissive=0 - install the openssh-server-config-rootlogin package and reboot the + Install the openssh-server-config-rootlogin package and reboot the system. -&prompt.root;transactional-update pkg in openssh-server-config-rootlogin -&prompt.root;reboot +&prompt.sudo;transactional-update pkg in openssh-server-config-rootlogin +&prompt.sudo;reboot - Add a file containing the snippet PermitRootLogin yes in the - /etc/sshd/sshd_config.d/ directory and reboot, for example: + Add a file containing PermitRootLogin yes in the + /etc/sshd/sshd_config.d/ directory and restart the sshd service, for example: -&prompt.root;echo 'PermitRootLogin yes' >> /etc/sshd/sshd_config.d/root_login_config -&prompt.root;reboot +&prompt.sudo;mkdir -p /etc/sshd/sshd_config.d/ && echo 'PermitRootLogin yes' \ + >> /etc/sshd/sshd_config.d/root_login_config +&prompt.sudo;systemctl restart sshd.service