Fix home directory for the sandbox user.

This commit is contained in:
Bruce M Simpson 2004-03-25 07:47:40 +00:00
parent c33e9331ce
commit 413950aef1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105197
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ post-configure:
@${SED} ${SED_SCRIPT} < ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}.sh
pre-install:
@${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d

View File

@ -2,7 +2,7 @@
PATH=/bin:/usr/sbin
SANDBOX_DIR="/disabled"
SANDBOX_DIR="${PKG_PREFIX}/bigsister"
if [ -z "${BS_USER}" ]; then
BS_USER=bs
@ -38,7 +38,7 @@ case $2 in
fi
else
if pw useradd ${BS_USER} -u ${UID} -g ${BS_GROUP} -h - \
-d ${SANDBOX_DIR} -s /sbin/nologin -c "Big Sister"
-d ${SANDBOX_DIR} -s /bin/sh -c "Big Sister"
then
echo "Added user \"${BS_USER}\"."
else