Rename the default user to "anon" and give him a home directory.

This commit is contained in:
Andreas Kling 2019-01-30 20:40:41 +01:00
parent 2a7af0eacf
commit d1b805172d
4 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,3 @@
root:x:0:
wheel:x:1:andreas
users:x:100:andreas
wheel:x:1:anon
users:x:100:anon

View file

@ -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

View file

@ -0,0 +1 @@
This is anon's file.

View file

@ -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