From owner-freebsd-ports@FreeBSD.ORG Fri Sep 6 04:00:19 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 928B01CB for ; Fri, 6 Sep 2013 04:00:19 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6CEA12306 for ; Fri, 6 Sep 2013 04:00:19 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id p10so2703318pdj.32 for ; Thu, 05 Sep 2013 21:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WpQfAXYUxk2e455Z5bihv54GavSBv9wB25MjXY8nFnU=; b=Lf79aTlHT5nIgrAHMHnDT0rD4ezzrH2z2tIODmut5Hl7GclGYS3AuSpW0TjpqHD3hC 7dt4JLTjvUiwD3cqTUXJARVZfFP4TxUpUODEAhmULe7Wx2a9XYjMGIpLklPfSJ1gGGmR 6pA5upWRTgu3anJE2gSMuld+6xeTMzubctlzYhqeMzOWY1RcVujWttLJhZDrb/JeWZOy Z14GmQobHvkoEXmfDygQ+Jkn+xy8iDtsgtI5dSOvHLW8a6TEDc6kAY9eAW5nc4qBFn7o KGvzThcHLWSIVDlVhn3bi/BoqPnmOINeRqn5IiKT9Ev5Su5Y3mJ6SxxxlpVcwaESFU6H hbaA== MIME-Version: 1.0 X-Received: by 10.68.169.97 with SMTP id ad1mr570616pbc.84.1378440018223; Thu, 05 Sep 2013 21:00:18 -0700 (PDT) Received: by 10.68.212.138 with HTTP; Thu, 5 Sep 2013 21:00:18 -0700 (PDT) In-Reply-To: <52294561.R3v3YVxoTsoMnIfV%perryh@pluto.rain.com> References: <52294561.R3v3YVxoTsoMnIfV%perryh@pluto.rain.com> Date: Fri, 6 Sep 2013 00:00:18 -0400 Message-ID: Subject: Re: setting the password of a automatically created account From: Aryeh Friedman To: Perry Hutchison Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 04:00:19 -0000 related questions: 1. How do I add the user to wheel (has it's own group but needs to be in wheel for reason number #2)? 2. How do I modify (in the safest possible way) an other port's installed config file(s) (namely I need to in the case of this port modify /usr/local/etc/sudoers to allow the no password option for wheel members)? Since the account's shell that is created is a custom shell for the port there is no security wholes we know about.. even so what kind of (if any) security warnings should we put on the port? On Thu, Sep 5, 2013 at 11:00 PM, Perry Hutchison wrote: > Aryeh Friedman wrote: > > > I have a port that needs to create a a user of a given name and a > > given default password... I found in the porters guide how to make > > the account but not set the password > > This is one of the canonical uses of lang/expect. >