From 4281c9f90ab5596e1e381672739576a5d014cb29 Mon Sep 17 00:00:00 2001 From: ngn Date: Fri, 23 Feb 2024 20:11:55 +0300 Subject: [PATCH] fix: Update default passwd configuration to allow root user to change the password --- matter-base/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matter-base/main.sh b/matter-base/main.sh index 80ad25a..5ddc29f 100644 --- a/matter-base/main.sh +++ b/matter-base/main.sh @@ -84,7 +84,7 @@ pushd $TARGET > /dev/null ln -sf usr/sbin sbin cat > etc/passwd << "EOF" -root:x:0:0:root:/root:/bin/bash +root:!:0:0:root:/root:/bin/bash bin:x:1:1:bin:/dev/null:/usr/bin/false daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false