summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2019-08-31 15:58:35 -0400
committerMichael Orlitzky <mjo@gentoo.org>2019-08-31 17:34:54 -0400
commite12eae4881db013c5569f4e4dafd70081cf3e485 (patch)
treea9f03c29ffb0f49a460f5ae50c7ea37456eae41c /net-analyzer/nagios-core
parentnet-analyzer/nagios-core: drop old (diff)
downloadgentoo-e12eae4881db013c5569f4e4dafd70081cf3e485.tar.gz
gentoo-e12eae4881db013c5569f4e4dafd70081cf3e485.tar.bz2
gentoo-e12eae4881db013c5569f4e4dafd70081cf3e485.zip
net-analyzer/nagios-core: use default homedir/shell for "nagios" user.
With GLEP81 approved, we're finally going to be able to (properly) share the "nagios" user between the packages that require it. As part of the migration process, I'd like to clean up its home directory and shell usage: I'm fairly sure that the default (/dev/null and /sbin/nologin) will work, at least for nagios-core. Whether or not this will affect any other packages is harder to discern. I'm using this new ~arch version of nagios-core to test things out. In this and later versions, we'll use the default "enewuser" arguments. If this causes a problem, it should appear only in new installs (enewuser is a no-op on upgrades), and with any luck someone will file a bug to say it doesn't work. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'net-analyzer/nagios-core')
-rw-r--r--net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild (renamed from net-analyzer/nagios-core/nagios-core-4.4.5.ebuild)2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-analyzer/nagios-core/nagios-core-4.4.5.ebuild b/net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild
index 74ddb853c43e..fdfccca6aabe 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.5.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild
@@ -72,7 +72,7 @@ S="${WORKDIR}/${MY_P}"
pkg_setup() {
enewgroup nagios
- enewuser nagios -1 /bin/bash /var/nagios/home nagios
+ enewuser nagios -1 -1 -1 nagios
}
src_configure() {