summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-12-27 14:33:56 -0500
committerMike Gilbert <floppym@gentoo.org>2020-12-27 19:27:31 -0500
commit91ff144f07fcb6be49752531c8e207886e26eb61 (patch)
treeed5bdafdc3075a0c9be7dd4fe8e4de8e760741bc
parentacct-group/nobody: new group (65534) (diff)
downloadgentoo-91ff144f07fcb6be49752531c8e207886e26eb61.tar.gz
gentoo-91ff144f07fcb6be49752531c8e207886e26eb61.tar.bz2
gentoo-91ff144f07fcb6be49752531c8e207886e26eb61.zip
acct-user/nobody: new user (65534)
Bug: https://bugs.gentoo.org/761763 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--acct-user/nobody/metadata.xml7
-rw-r--r--acct-user/nobody/nobody-0.ebuild17
2 files changed, 24 insertions, 0 deletions
diff --git a/acct-user/nobody/metadata.xml b/acct-user/nobody/metadata.xml
new file mode 100644
index 00000000000..f540000d5aa
--- /dev/null
+++ b/acct-user/nobody/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/nobody/nobody-0.ebuild b/acct-user/nobody/nobody-0.ebuild
new file mode 100644
index 00000000000..444addd883b
--- /dev/null
+++ b/acct-user/nobody/nobody-0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+ACCT_USER_ID=65534
+ACCT_USER_ENFORCE_ID=yes
+ACCT_USER_HOME="/var/empty"
+ACCT_USER_HOME_OWNER="root:root"
+ACCT_USER_HOME_PERMS=0755
+ACCT_USER_GROUPS=( nobody )
+
+acct-user_add_deps
+
+RDEPEND+=" acct-user/root"