mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Rename the default user to "anon" and give him a home directory.
This commit is contained in:
parent
2a7af0eacf
commit
d1b805172d
|
@ -1,3 +1,3 @@
|
||||||
root:x:0:
|
root:x:0:
|
||||||
wheel:x:1:andreas
|
wheel:x:1:anon
|
||||||
users:x:100:andreas
|
users:x:100:anon
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
root:x:0:0:root:/:/bin/sh
|
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
|
||||||
|
|
1
Base/users/anon/myfile.txt
Normal file
1
Base/users/anon/myfile.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This is anon's file.
|
|
@ -13,7 +13,8 @@ mknod mnt/dev/psaux c 10 1
|
||||||
mknod mnt/dev/ptmx c 5 2
|
mknod mnt/dev/ptmx c 5 2
|
||||||
mkdir mnt/dev/pts
|
mkdir mnt/dev/pts
|
||||||
mknod mnt/dev/gui_events c 66 1
|
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/sh mnt/bin/sh
|
||||||
cp -v ../Userland/id mnt/bin/id
|
cp -v ../Userland/id mnt/bin/id
|
||||||
cp -v ../Userland/ps mnt/bin/ps
|
cp -v ../Userland/ps mnt/bin/ps
|
||||||
|
|
Loading…
Reference in a new issue