From owner-freebsd-ports@FreeBSD.ORG Fri Dec 16 00:44:43 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A73B0106566B for ; Fri, 16 Dec 2011 00:44:43 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 726C78FC16 for ; Fri, 16 Dec 2011 00:44:43 +0000 (UTC) Received: by iakl21 with SMTP id l21so6509565iak.13 for ; Thu, 15 Dec 2011 16:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nq/d2y4/0t8K5XZGRBLOLpkh4W73yraxDc1gO1IejDc=; b=eslGnGPWyW6OWqir+VjjElFv4jQsijzhp1hNI3LcHawBVKfwm468r1opfWYaVYRyPT N+qwwqeuALzGiOM9pmh6s2Jsx4UP7H3WtEO3fUo8CGF6aSPGuAijmSFTlaicC7iuJpDO 6VUtXhNCjmNTvSwDmwQ1ned8YPPlGmHwq6Vm4= MIME-Version: 1.0 Received: by 10.50.173.74 with SMTP id bi10mr4931487igc.4.1323994794477; Thu, 15 Dec 2011 16:19:54 -0800 (PST) Received: by 10.42.166.73 with HTTP; Thu, 15 Dec 2011 16:19:54 -0800 (PST) In-Reply-To: References: Date: Thu, 15 Dec 2011 19:19:54 -0500 Message-ID: From: Aryeh Friedman To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: A maintainers question: how to create a user? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 00:44:43 -0000 On Thu, Dec 15, 2011 at 7:16 PM, Aryeh Friedman wrote: > See subject for the main question... the details: I am the maintainer of > devel/aegis and the final installation step typically (linux RPM's for > example) is to create a user to hold the baselines (in svn/cvs/csup speak > the project's repo) of the varioous projects managed by aegis... customerly > this is MUST be a non-logginable (you MUST [requirements document meaning > of upper case MUST/SHOULD/MAY {NOT}) but allow for su from either root or > via sudo a member of "wheel")... it is a standard account in all other > respects for example I typically set it to tcsh but the port might want to > make that an make time option... what is the best way of setting this all > up (both the no options and the options based versions) > for example: # grep aegis /etc/passwd aegis:*:1002:1002:Aegis Baselines:/home/aegis:/bin/tcsh # grep aegis /etc/group wheel:*:0:root,aryeh,aegis aegis:*:1002: