From f80439e0ef58547966f6e9fbc8c265182561eec2 Mon Sep 17 00:00:00 2001 From: "Crist J. Clark" Date: Wed, 9 Apr 2003 05:02:42 +0000 Subject: Maintainer update: Don't misuse the 'nobody' account. PR: 50739, 30701 Submitted by: Cyrille Lefevre --- astro/setiathome/pkg-install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'astro/setiathome/pkg-install') diff --git a/astro/setiathome/pkg-install b/astro/setiathome/pkg-install index 151035f60526..f77e51636a02 100644 --- a/astro/setiathome/pkg-install +++ b/astro/setiathome/pkg-install @@ -14,7 +14,7 @@ PKG_ACTION=$2 # override these variables in ${PREFIX}/etc/rc.setiathome.conf seti_wrkdir=/var/db/${PKG_NAME} # working directory -seti_user=nobody # user id to run under +seti_user=setiathome # user id to run under seti_maxprocs=$(sysctl -n hw.ncpu) # max. number of processes to start rcconf_dir=${PKG_PREFIX}/etc @@ -126,6 +126,9 @@ echo " rm -rf ${seti_wrkdir}" echo " to do so, but think about it twince before." else echo "**** SETI@home working directory and temporary files removed." + fi + if pw usershow "${seti_user}" 2>/dev/null 1>&2; then +echo "To permanently delete SETI@home user, use 'pw userdel ${seti_user}'" fi ;; -- cgit v1.2.3