diff options
author | Crist J. Clark <cjc@FreeBSD.org> | 2003-04-09 05:02:42 +0000 |
---|---|---|
committer | Crist J. Clark <cjc@FreeBSD.org> | 2003-04-09 05:02:42 +0000 |
commit | f80439e0ef58547966f6e9fbc8c265182561eec2 (patch) | |
tree | 1a6fe3a9a15892f39ca5e8aa964712fb0c5df143 /astro/setiathome/pkg-install | |
parent | Build fixes for __FreeBSD_version >= 500111 (usbhid changes.) (diff) |
Maintainer update: Don't misuse the 'nobody' account.
PR: 50739, 30701
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Notes
Notes:
svn path=/head/; revision=78645
Diffstat (limited to 'astro/setiathome/pkg-install')
-rw-r--r-- | astro/setiathome/pkg-install | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ -127,6 +127,9 @@ 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 ;; PRE-INSTALL|POST-DEINSTALL) |