From aa5bb69109f84ed318d55a005c036a6a5c12a930 Mon Sep 17 00:00:00 2001 From: Nikita Shubin Date: Sat, 27 Jul 2019 14:38:24 +0300 Subject: [PATCH] etc: base configs --- etc/group | 1 + etc/inittab | 15 +++++++++++++++ etc/passwd | 1 + 3 files changed, 17 insertions(+) create mode 100644 etc/group create mode 100644 etc/inittab create mode 100644 etc/passwd diff --git a/etc/group b/etc/group new file mode 100644 index 0000000..1dbf901 --- /dev/null +++ b/etc/group @@ -0,0 +1 @@ +root:x:0: diff --git a/etc/inittab b/etc/inittab new file mode 100644 index 0000000..d3bd427 --- /dev/null +++ b/etc/inittab @@ -0,0 +1,15 @@ +::sysinit:/bin/touch /var/log/messages +::sysinit:/bin/touch /var/log/lastlog + +::respawn:/sbin/getty -n -L -l /loginroot 115200 ttyS0 vt100 +::respawn:/sbin/syslogd -n -m 0 +::respawn:/sbin/klogd -n + +::ctrlaltdel:/sbin/reboot + +::shutdown:/bin/sync +::shutdown:/usr/bin/killall klogd +::shutdown:/usr/bin/killall syslogd +::shutdown:/bin/umount -a -r + +::restart:/sbin/init diff --git a/etc/passwd b/etc/passwd new file mode 100644 index 0000000..bcaab64 --- /dev/null +++ b/etc/passwd @@ -0,0 +1 @@ +root::0:0:root:/root:/bin/sh -- 2.30.2