summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-02-04 17:42:15 -0800
committerPatrick McLean <chutzpah@gentoo.org>2020-02-04 17:53:36 -0800
commit5598093b3569149c4eaaf59037f4c38da4f07a1b (patch)
tree32bb8cb3647fce99b5ed0f2c736f38e7ced3cae0 /acct-user/sshd
parentacct-group/sshd-0: Add sshd group (diff)
downloadgentoo-5598093b3569149c4eaaf59037f4c38da4f07a1b.tar.gz
gentoo-5598093b3569149c4eaaf59037f4c38da4f07a1b.tar.bz2
gentoo-5598093b3569149c4eaaf59037f4c38da4f07a1b.zip
acct-user/sshd-0: Add sshd user
Bug: https://bugs.gentoo.org/703016 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.87, Repoman-2.3.20 RepoMan-Options: --force Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'acct-user/sshd')
-rw-r--r--acct-user/sshd/metadata.xml8
-rw-r--r--acct-user/sshd/sshd-0.ebuild15
2 files changed, 23 insertions, 0 deletions
diff --git a/acct-user/sshd/metadata.xml b/acct-user/sshd/metadata.xml
new file mode 100644
index 000000000000..3e60a9a347a4
--- /dev/null
+++ b/acct-user/sshd/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+ <name>Gentoo Base System</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/sshd/sshd-0.ebuild b/acct-user/sshd/sshd-0.ebuild
new file mode 100644
index 000000000000..06703c1956ba
--- /dev/null
+++ b/acct-user/sshd/sshd-0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for ssh"
+
+ACCT_USER_ID=22
+ACCT_USER_HOME=/var/empty
+ACCT_USER_HOME_OWNER=root:root
+ACCT_USER_GROUPS=( sshd )
+
+acct-user_add_deps