1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Set the distcc user's shell to /usr/sbin/nologin

PR:		ports/132096
Submitted by:	Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
Approved by:	Steven Kreuzer <skreuzer@FreeBSD.org>
This commit is contained in:
Steven Kreuzer 2010-04-19 20:04:22 +00:00
parent 6cb314f298
commit a244d5fdf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252924

View File

@ -23,7 +23,7 @@ POST-INSTALL)
echo "You already have a user \"${USER}\", so I will use it."
else
if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \
-d "/nonexistent" -s /sbin/nologin -c "Distcc user"
-d "/nonexistent" -s /usr/sbin/nologin -c "Distcc user"
then
echo "Added user \"${USER}\"."
else