summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Base/etc/group4
-rw-r--r--Base/etc/passwd2
-rw-r--r--Base/users/anon/myfile.txt1
-rwxr-xr-xKernel/sync.sh3
4 files changed, 6 insertions, 4 deletions
diff --git a/Base/etc/group b/Base/etc/group
index 48c0d4d27e..ac450806e3 100644
--- a/Base/etc/group
+++ b/Base/etc/group
@@ -1,3 +1,3 @@
root:x:0:
-wheel:x:1:andreas
-users:x:100:andreas
+wheel:x:1:anon
+users:x:100:anon
diff --git a/Base/etc/passwd b/Base/etc/passwd
index 82d18b5b3d..e211fddf2a 100644
--- a/Base/etc/passwd
+++ b/Base/etc/passwd
@@ -1,2 +1,2 @@
root:x:0:0:root:/:/bin/sh
-andreas:x:100:100:Andreas Kling,,,:/users/andreas:/bin/sh
+anon:x:100:100:Anonymous,,,:/users/anon:/bin/sh
diff --git a/Base/users/anon/myfile.txt b/Base/users/anon/myfile.txt
new file mode 100644
index 0000000000..0cb5887cc7
--- /dev/null
+++ b/Base/users/anon/myfile.txt
@@ -0,0 +1 @@
+This is anon's file.
diff --git a/Kernel/sync.sh b/Kernel/sync.sh
index d0fe75f92c..5c3003719e 100755
--- a/Kernel/sync.sh
+++ b/Kernel/sync.sh
@@ -13,7 +13,8 @@ mknod mnt/dev/psaux c 10 1
mknod mnt/dev/ptmx c 5 2
mkdir mnt/dev/pts
mknod mnt/dev/gui_events c 66 1
-cp -R ../Base/* mnt/
+cp -vR ../Base/* mnt/
+chown -vR 100:100 mnt/users/anon
cp -v ../Userland/sh mnt/bin/sh
cp -v ../Userland/id mnt/bin/id
cp -v ../Userland/ps mnt/bin/ps