From 95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 12 Jan 2025 01:17:36 -0600 Subject: PROJECT RESTRUCTURING Move the entire kernel into its own directory. Create new directories for system commands, libraries and other required essentials for a complete Unix-like operating system. Signed-off-by: Danny Holman --- etc/fstab | 4 ++++ etc/group | 18 ++++++++++++++++++ etc/passwd | 4 ++++ etc/shadow | 4 ++++ etc/shells | 4 ++++ 5 files changed, 34 insertions(+) create mode 100644 etc/fstab create mode 100644 etc/group create mode 100644 etc/passwd create mode 100644 etc/shadow create mode 100644 etc/shells (limited to 'etc') diff --git a/etc/fstab b/etc/fstab new file mode 100644 index 0000000..5dc3ee1 --- /dev/null +++ b/etc/fstab @@ -0,0 +1,4 @@ +# Static information about the filesystems. +# See fstab(5) for details. + +# diff --git a/etc/group b/etc/group new file mode 100644 index 0000000..bb0d851 --- /dev/null +++ b/etc/group @@ -0,0 +1,18 @@ +root:x:0:root +bin:x:1:root,bin,daemon +daemon:x:2:root,bin,daemon +disk:x:3:root +adm:x:4:root,daemon +tty:x:5:root +mem:x:6: +kmem:x:7: +wheel:x:8:root +log:x:9:root +proc:x:10:root +audio:x:11: +video:x:11: +network:x:12: +power:x:13: +sudo:x:14:root +users:x:100: +nobody:x:65534: diff --git a/etc/passwd b/etc/passwd new file mode 100644 index 0000000..c814925 --- /dev/null +++ b/etc/passwd @@ -0,0 +1,4 @@ +root:x:0:0:Super User:/root:/bin/sh +bin:x:1:1::/:/sbin/nologin +daemon:x:2:2::/:/sbin/nologin +nobody:x:65534:99:Nobody:/:/sbin/nologin diff --git a/etc/shadow b/etc/shadow new file mode 100644 index 0000000..fd36873 --- /dev/null +++ b/etc/shadow @@ -0,0 +1,4 @@ +root::0::::::: +bin:!:0::::::: +daemon:!:0::::::: +nobody:!:0::::::: diff --git a/etc/shells b/etc/shells new file mode 100644 index 0000000..b357b99 --- /dev/null +++ b/etc/shells @@ -0,0 +1,4 @@ +# List of valid login shells +# See shells(5) for details. + +/bin/sh -- cgit v1.2.3