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:
parent
6cb314f298
commit
a244d5fdf8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252924
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user