From 04ea9b0f24fc29edb9646b9a6aaea651ec109e6d Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Tue, 20 Apr 2021 16:09:38 +0300 Subject: [PATCH] Added salt to the password --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index 39742a5..a90a9eb 100755 --- a/nixos-infect +++ b/nixos-infect @@ -118,7 +118,7 @@ makeConf() { users.users = { "$LUSER" = { isNormalUser = true; - hashedPassword = "$HASHED_PASSWORD"; + hashedPassword = "\$6\$$SALT\$$HASHED_PASSWORD"; }; }; } -- 2.42.0