Debian/Ubuntu: Improve some sudo usage

Reported-by: Jonathan Dumont <JOduMonT>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Richard Laager
2021-10-28 22:07:00 -05:00
parent f2cda9dad5
commit 0a2125b845
3 changed files with 9 additions and 7 deletions

View File

@@ -1015,10 +1015,10 @@ Step 9: Final Cleanup
If you installed SSH earlier, revert the temporary change::
vi /etc/ssh/sshd_config
sudo vi /etc/ssh/sshd_config
# Remove: PermitRootLogin yes
systemctl restart ssh
sudo systemctl restart ssh
#. Optional: Re-enable the graphical boot process: