fix: Update default passwd configuration to allow root user to change the password
This commit is contained in:
parent
710a0048f0
commit
4281c9f90a
@ -84,7 +84,7 @@ pushd $TARGET > /dev/null
|
|||||||
ln -sf usr/sbin sbin
|
ln -sf usr/sbin sbin
|
||||||
|
|
||||||
cat > etc/passwd << "EOF"
|
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
|
bin:x:1:1:bin:/dev/null:/usr/bin/false
|
||||||
daemon:x:6:6:Daemon User:/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
|
messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false
|
||||||
|
Loading…
Reference in New Issue
Block a user