Liangxu Linux
Liangxu Linux
Jan 25, 2025 · Operations

Auto‑Create a User on Boot by Editing rootfs shadow & passwd Files

This guide explains how to automatically add a user with a preset password on an embedded Linux device at boot by manually creating the user once, extracting its entries from /etc/shadow and /etc/passwd, and inserting those entries into the buildroot target filesystem before flashing.

AutomationEmbedded Linuxbuildroot
0 likes · 4 min read
Auto‑Create a User on Boot by Editing rootfs shadow & passwd Files
Liangxu Linux
Liangxu Linux
Aug 25, 2024 · Fundamentals

Mastering Linux Root Filesystem: Theory, BusyBox Build, and NFS Boot

This guide explains the purpose and structure of a Linux root filesystem, demonstrates how to create a minimal rootfs using ext3 or NFS, walks through busybox compilation and configuration, analyzes init scripts and inittab, and shows how to package and flash the rootfs for embedded devices.

NFSbuildrootinit
0 likes · 32 min read
Mastering Linux Root Filesystem: Theory, BusyBox Build, and NFS Boot