From 640ea93d5791a35677b9d73c9618f96fee25bafc Mon Sep 17 00:00:00 2001 From: Ilario Gelmetti Date: Sun, 12 May 2024 12:44:26 +0200 Subject: [PATCH] canodrom fixed root_password --- .../simple/root/etc/lime-assets/community/root_password | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/canodrom.barcelona/simple/root/etc/lime-assets/community/root_password b/canodrom.barcelona/simple/root/etc/lime-assets/community/root_password index 77993ed..785e6a3 100644 --- a/canodrom.barcelona/simple/root/etc/lime-assets/community/root_password +++ b/canodrom.barcelona/simple/root/etc/lime-assets/community/root_password @@ -1,4 +1,4 @@ -!#/bin/sh +#!/bin/sh # Disclamer: We know that hardcoding the password is a bad idea and that uploading its hash on the internet is stupid @@ -8,4 +8,4 @@ # password=FIXME # hashed_passwd=$(openssl passwd -6 -salt "$salt" "$password") -sed -i 's/root::/root:$6$5VUgcTdRQN4igoWs$ZuZu.4ruzVUQ.Yg3klttzl57NrDySmJZOWKngIL9V/AjEDyCkx.o.cfIo2wLuJdCl9GHNR5sKm.ld5/09Q0WQ1:/' /etc/shadow +sed -i 's|root::|root:$6$5VUgcTdRQN4igoWs$ZuZu.4ruzVUQ.Yg3klttzl57NrDySmJZOWKngIL9V/AjEDyCkx.o.cfIo2wLuJdCl9GHNR5sKm.ld5/09Q0WQ1:|' /etc/shadow