summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-01-12 01:17:36 -0600
committerDanny Holman <dholman@gymli.org>2025-01-12 01:19:11 -0600
commit95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf (patch)
treec8c35347b50477929727fa5be9f5d0f55cbe18fd /etc
parent5e166f3042a8e7b3031aae4da7006f80caa53ecc (diff)
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 <dholman@gymli.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/fstab4
-rw-r--r--etc/group18
-rw-r--r--etc/passwd4
-rw-r--r--etc/shadow4
-rw-r--r--etc/shells4
5 files changed, 34 insertions, 0 deletions
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.
+
+# <file sysetm> <dir> <type> <options> <dump> <pass>
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