acct-user/ftp: Add 'ftp' user (UID 21)
authorMichał Górny <mgorny@gentoo.org>
Sat, 1 Jun 2019 14:04:19 +0000 (16:04 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 24 Jun 2019 10:29:31 +0000 (12:29 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
acct-user/ftp/ftp-0.ebuild [new file with mode: 0644]
acct-user/ftp/metadata.xml [new file with mode: 0644]
profiles/categories

diff --git a/acct-user/ftp/ftp-0.ebuild b/acct-user/ftp/ftp-0.ebuild
new file mode 100644 (file)
index 0000000..e33e289
--- /dev/null
@@ -0,0 +1,14 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="File Transfer Protocol server user"
+ACCT_USER_ID=21
+ACCT_USER_HOME=/home/ftp
+ACCT_USER_HOME_OWNER=root:ftp
+ACCT_USER_GROUPS=( ftp )
+
+acct-user_add_deps
diff --git a/acct-user/ftp/metadata.xml b/acct-user/ftp/metadata.xml
new file mode 100644 (file)
index 0000000..7a38bb9
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <!-- maintainer-needed -->
+</pkgmetadata>
index ebfc72f70759ff95729b12a98547cc242d7ab522..0f45f8cd17329f41341f43f64eabe12b5f0e4c8c 100644 (file)
@@ -1,4 +1,5 @@
 acct-group
+acct-user
 app-accessibility
 app-admin
 app-antivirus