base: Add 'guest' user with no groups, not in sudoers

This commit is contained in:
K. Lange 2021-08-31 20:54:35 +09:00
parent 8984cc8f71
commit c2dea31ff0
4 changed files with 3 additions and 0 deletions

View File

@ -1,2 +1,3 @@
root:toor:0:0:Administrator:/home/root:/bin/sh:fancy
local:local:1000:1000:Local User:/home/local:/bin/sh:fancy
guest:guest:1001:1001:Guest User:/home/guest:/bin/sh:fancy

View File

@ -1,3 +1,4 @@
root:x:0:0:Administrator:/home/root:/bin/sh:fancy
adm:x:1:1:Administrators:/tmp:/bin/false:nope
local:x:1000:1000:Local User:/home/local:/bin/sh:fancy
guest:x:1001:1001:Guest User:/home/guest:/bin/sh:fancy

0
base/home/guest/hello Normal file
View File

View File

@ -10,6 +10,7 @@ import tarfile
users = {
'root': 0,
'local': 1000,
'guest': 1001,
}
restricted_files = {