From fff527359145f4cfc9e9e6dae9544fe049c61e97 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Wed, 16 Apr 2025 01:44:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/create_iso.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/create_iso.rs b/src/create_iso.rs index 296e393..4256b8e 100644 --- a/src/create_iso.rs +++ b/src/create_iso.rs @@ -66,7 +66,7 @@ pub fn create_iso( std::fs::write("./iso/airootfs/etc/passwd", format!("root:x:0:0:root:/root:/usr/bin/zsh\n{user}:x:{uid}:{uid}::/home/{user}:/usr/bin/zsh\n")).unwrap(); std::fs::write( "./iso/airootfs/etc/shadow", - format!("root::14871::::::\n{user}:{hashed_pw}:14871::::::"), + format!("root::14871::::::\n{user}:{}:14871::::::", hashed_pw.trim()), ) .unwrap(); std::fs::write(