diff options
author | dzwdz | 2022-08-13 22:07:15 +0200 |
---|---|---|
committer | dzwdz | 2022-08-13 22:07:15 +0200 |
commit | 20e3f127a9c79f8ed9a9fcc3ffea0172eda4d606 (patch) | |
tree | 70216a4a30cf11f21cfc71f08db73e5490453a3e /initrd | |
parent | 8173a2b8e64eade49edf8183713fce9c2bc77dea (diff) |
user: a primitive login utility
Diffstat (limited to 'initrd')
-rw-r--r-- | initrd/Users/dzwdz/private/secrets.txt | 2 | ||||
-rw-r--r-- | initrd/Users/dzwdz/public/stuff.txt | 2 | ||||
-rw-r--r-- | initrd/bin/sh/mkuser | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/initrd/Users/dzwdz/private/secrets.txt b/initrd/Users/dzwdz/private/secrets.txt new file mode 100644 index 0000000..7f1bcbc --- /dev/null +++ b/initrd/Users/dzwdz/private/secrets.txt @@ -0,0 +1,2 @@ +I enjoyed Twilight. + diff --git a/initrd/Users/dzwdz/public/stuff.txt b/initrd/Users/dzwdz/public/stuff.txt new file mode 100644 index 0000000..b864fc2 --- /dev/null +++ b/initrd/Users/dzwdz/public/stuff.txt @@ -0,0 +1,2 @@ +A publicly readable file. + diff --git a/initrd/bin/sh/mkuser b/initrd/bin/sh/mkuser new file mode 100644 index 0000000..a1544c6 --- /dev/null +++ b/initrd/bin/sh/mkuser @@ -0,0 +1,7 @@ +#!/bin/shell +touch /Users/user/ +cd /Users/user/ +touch private/ +echo secrets! > private/secret.txt +touch public/ +echo no secrets here > public/hi.txt
\ No newline at end of file |