From owner-freebsd-ports@freebsd.org Mon Feb 15 22:47:13 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5B39AA878C for ; Mon, 15 Feb 2016 22:47:13 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9BC68BC5 for ; Mon, 15 Feb 2016 22:47:13 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-88-217-181-205.dynamic.mnet-online.de [88.217.181.205]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id A4CDB1B369E; Mon, 15 Feb 2016 23:47:10 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de A4CDB1B369E Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1455576430; bh=cPZ9VkN7xaxBBOLKx4XbHzufg1RmMeqPQ4tI07CejHA=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=HyJPtWhTyNk01wP16CZizTeH9liixQ1YBLYa6mKPyuSnSpi1j3HZYOpUXOmioKqzU bSRezEqyLIv72WAQmeKi3Ib7uCrL74WLneSTfzZ/Qb7p5Rq6MQiXBsy6hiQibJZpxL rEpLTJXGo2ZIbngUVDzs+aXL4E2bWjRn6iDQjcOA= Received: from [192.168.0.151] (aftr-88-217-181-205.dynamic.mnet-online.de [88.217.181.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 0D2D1DB22E; Mon, 15 Feb 2016 23:47:09 +0100 (CET) Subject: Re: New user/group in /usr/ports/UIDs and /usr/ports/GIDs To: Kurt Jaeger References: <56BF0836.6050507@fechner.net> <56C19E13.70203@fechner.net> <20160215094919.GI26283@home.opsec.eu> <56C1E8B3.8090301@fechner.net> <20160215152445.GK26283@home.opsec.eu> Cc: freebsd-ports@freebsd.org From: Matthias Fechner Message-ID: <56C25563.2090806@fechner.net> Date: Mon, 15 Feb 2016 23:46:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160215152445.GK26283@home.opsec.eu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 22:47:13 -0000 Am 15.02.2016 um 16:24 schrieb Kurt Jaeger: >> it is not blocking in a hard way. >> But if you have it installed you deinstall it and reinstall it again, >> you maybe get permission problems, because the UID/GID for the gogs user >> can change. > > That's a valid point. > > Is there a reason for the gogs user to have /bin/sh instead > of /usr/sbin/nologin ? yes, the shell is required, because the user will login using public ssh key and then a git process is triggered to be able to push/pull via git. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook