branding: enforce passwordless root via passwd -d -R; remove direct passwd/shadow edits
initramfs: switch to passwd -d -R in scripts/lib/initramfs.sh:initramfs_finalize_customization() for shadow-aware passwordless root (aligned with 9423b708 intent), drop sed and chpasswd paths, and add validation diagnostics. common: normalize INSTALL_DIR/COMPONENTS_DIR/KERNEL_DIR/DIST_DIR to absolute paths after sourcing config to prevent validation resolving under kernel/current. Dockerfile: include shadow (for passwd/chpasswd), ensure openssl and openssl-dev present; remove perl. config: introduce ZEROOS_PASSWORDLESS_ROOT default true and comment password vars. docs: NOTES.md updated with diagnostics and flow.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
agetty
|
||||
alpine-baselayout
|
||||
alpine-baselayout-data
|
||||
alpine-keys
|
||||
@@ -27,5 +28,6 @@ nftables
|
||||
openssh-server
|
||||
tcpdump
|
||||
util-linux
|
||||
wget
|
||||
zellij
|
||||
zlib
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Welcome to Alpine Linux 3.22
|
||||
Kernel \r on \m (\l)
|
||||
Zero-OS \r \m
|
||||
Built on \l
|
||||
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
Welcome to Alpine!
|
||||
|
||||
The Alpine Wiki contains a large amount of how-to guides and general
|
||||
information about administrating Alpine systems.
|
||||
See <https://wiki.alpinelinux.org/>.
|
||||
Welcome to Zero-OS!
|
||||
|
||||
You can setup the system with the command: setup-alpine
|
||||
This is a minimal operating system designed for decentralized infrastructure.
|
||||
Built on Alpine Linux with ThreeFold components.
|
||||
|
||||
You may change this message by editing /etc/motd.
|
||||
For more information: https://github.com/threefoldtech/zos
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
root:*::0:::::
|
||||
root::20340:0:::::
|
||||
bin:!::0:::::
|
||||
daemon:!::0:::::
|
||||
lp:!::0:::::
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/bin/busybox
|
||||
BIN
initramfs/usr/bin/wget
Executable file
BIN
initramfs/usr/bin/wget
Executable file
Binary file not shown.
Reference in New Issue
Block a user