diff options
-rw-r--r-- | lib/profile/proteanos.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/profile/proteanos.sh b/lib/profile/proteanos.sh index ee3627d..df583ef 100644 --- a/lib/profile/proteanos.sh +++ b/lib/profile/proteanos.sh @@ -223,6 +223,8 @@ prof_proteanos_configure_system_native() [ -r /etc/hostname ] && cp /etc/hostname "${root}/etc" [ -e "${root}/etc/passwd" ] || printf \ 'root::0:0:root:/root:/bin/sh\n' >"${root}/etc/passwd" + [ -e "${root}/etc/group" ] || printf \ + 'root:x:0:\n' >"${root}/etc/group" } prof_proteanos_configure_system_foreign() @@ -234,4 +236,6 @@ prof_proteanos_configure_system_foreign() printf 'proteanos\n' >"${root}/etc/hostname" [ -e "${root}/etc/passwd" ] || printf \ 'root::0:0:root:/root:/bin/sh\n' >"${root}/etc/passwd" + [ -e "${root}/etc/group" ] || printf \ + 'root:x:0:\n' >"${root}/etc/group" } |