Date: Wed, 25 Feb 2009 12:44:45 GMT From: Oleg Ginzburg <oleg.ginzburg@nevosoft.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132096: devel/distcc: fixing valid shell for user distcc in pkg-install Message-ID: <200902251244.n1PCijTd044422@www.freebsd.org> Resent-Message-ID: <200902251250.n1PCo2rI095755@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132096 >Category: ports >Synopsis: devel/distcc: fixing valid shell for user distcc in pkg-install >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 25 12:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Oleg Ginzburg >Release: 8-CURRENT >Organization: >Environment: FreeBSD oleg.net.nevosoft.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #2 r188990: Tue Feb 24 14:34:57 MSK 2009 root@oleg.net.nevosoft.ru:/usr/obj/usr/src/sys/o20090103 i386 >Description: Deprecated path to nologin shell in pkg-install for distcc user. Must be /usr/sbin/nologin according to `grep ^distcc /usr/ports/UIDs` >How-To-Repeat: >Fix: patch.txt Patch attached with submission follows: diff -ruN distcc.bak/pkg-install distcc/pkg-install --- distcc.bak/pkg-install 2009-02-25 15:37:15.000000000 +0300 +++ distcc/pkg-install 2009-02-25 15:38:04.000000000 +0300 @@ -23,7 +23,7 @@ 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902251244.n1PCijTd044422>