From bff9974801c4bf7ba5b717c7c3971d989cf0b413 Mon Sep 17 00:00:00 2001 From: Matheus Date: Wed, 28 Aug 2024 18:38:52 -0300 Subject: [PATCH] distrofiles: add astral user, astral group and unknown group --- distro-files/etc/default/useradd | 8 ++++++++ distro-files/etc/group | 2 ++ distro-files/etc/issue | 1 + distro-files/etc/passwd | 1 + 4 files changed, 12 insertions(+) create mode 100644 distro-files/etc/default/useradd diff --git a/distro-files/etc/default/useradd b/distro-files/etc/default/useradd new file mode 100644 index 00000000..c5ddb0bc --- /dev/null +++ b/distro-files/etc/default/useradd @@ -0,0 +1,8 @@ +GROUP=999 +HOME=/home +INACTIVE=-1 +EXPIRE= +SHELL=/usr/bin/bash +SKEL=/etc/skel +CREATE_MAIL_SPOOL=no +LOG_INIT=yes diff --git a/distro-files/etc/group b/distro-files/etc/group index 61ce8b24..6a8f2d1b 100644 --- a/distro-files/etc/group +++ b/distro-files/etc/group @@ -1,2 +1,4 @@ root::0:root sshd::100:sshd +unknown::999:unknown +astral::999:astral diff --git a/distro-files/etc/issue b/distro-files/etc/issue index da0fc0e7..b0f7113e 100644 --- a/distro-files/etc/issue +++ b/distro-files/etc/issue @@ -1,3 +1,4 @@ +Password for the astral user is: astral Password for the root user is: root To start a graphical environment, run: startwm diff --git a/distro-files/etc/passwd b/distro-files/etc/passwd index 5eb85f74..06f084f9 100644 --- a/distro-files/etc/passwd +++ b/distro-files/etc/passwd @@ -1,2 +1,3 @@ root:$6$Y60.qkhq.v3jWUVR$UyDvutrBYQNNhX1VvIrX2O7CcRPxuZ8EqyBktx7RG1nXzgXi7QHj3khzl14jxfKx45DpbVMIOXJziW2GqsOss.:0:0:root:/root:/usr/bin/bash sshd::100:100:sshd privsep:/var/lib/ssh:/usr/bin/false +astral:$6$se/T4Wiigv5GmnhV$O0u5pgb57Oq5Of7.W5RkRFCjHsHFdqhnbWISKfv5n9REDUyKu0QsITlVQHG91ctn/PAxoYQ.d1HybLqFji3RH.:1000:1000::/home/astral:/usr/bin/bash