From 8e64b553da51f634b9af31c28b6ff2228f4be6f2 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Thu, 20 Oct 2022 15:21:19 +0200 Subject: [PATCH] mise au point solution --- Readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 879814d..f0ac868 100644 --- a/Readme.md +++ b/Readme.md @@ -4,15 +4,15 @@ Créer le répertoire /srv/Private ```bash -mkdir /srv/Private -echo "This is private" > /srv/Private/index.html +sudo mkdir /srv/Private +echo "This is private" | sudo tee /srv/Private/index.html ``` -Le rendre accessible via http://lia.fr/Private +Le rendre accessible via http://liaX.formation.opendoor.fr/Private ```bash -htpasswd -c /etc/httpd/passwd tom +sudo htpasswd -c /etc/httpd/passwd tom ... -echo "admin: tom" > /etc/httpd/group +echo "admin: tom" | sudo tee /etc/httpd/group ``` ```bash