From a9ef380662da3efa382017ff8423f1a894b31bfd Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 6 Feb 2024 13:22:04 +0100 Subject: dynamic linking application starts --- rootfs/etc/network/interfaces | 4 ++++ rootfs/etc/passwd | 1 + rootfs/etc/profile | 3 ++- rootfs/etc/shadow | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 rootfs/etc/network/interfaces create mode 100644 rootfs/etc/passwd create mode 100644 rootfs/etc/shadow (limited to 'rootfs/etc') diff --git a/rootfs/etc/network/interfaces b/rootfs/etc/network/interfaces new file mode 100644 index 0000000..6da47b0 --- /dev/null +++ b/rootfs/etc/network/interfaces @@ -0,0 +1,4 @@ +# interfaces(5) configuration +auto eth0 +iface eth0 inet dhcp + diff --git a/rootfs/etc/passwd b/rootfs/etc/passwd new file mode 100644 index 0000000..fd6236d --- /dev/null +++ b/rootfs/etc/passwd @@ -0,0 +1 @@ +root:x:0:0::/root:/bin/sh diff --git a/rootfs/etc/profile b/rootfs/etc/profile index 557b21a..8e38c52 100644 --- a/rootfs/etc/profile +++ b/rootfs/etc/profile @@ -1,5 +1,6 @@ # /etc/profile umask 022 -export PATH="$PATH:/usr/bin" cd "$HOME" +export PATH="$PATH:/usr/bin" +export LD_LIBRARY_PATH="/lib" diff --git a/rootfs/etc/shadow b/rootfs/etc/shadow new file mode 100644 index 0000000..18acc30 --- /dev/null +++ b/rootfs/etc/shadow @@ -0,0 +1 @@ +root:x:0:root -- cgit v1.2.3