From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 22:46:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B0B537B401 for ; Sat, 28 Jun 2003 22:46:13 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C611C4401E for ; Sat, 28 Jun 2003 22:46:12 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 97327 invoked by uid 1001); 29 Jun 2003 05:48:59 -0000 Date: Sat, 28 Jun 2003 22:48:59 -0700 From: Joshua Oreman To: Michael Tran Message-ID: <20030629054859.GA87548@webserver.get-linux.org> References: <000001c33dff$da386670$0600a8c0@acetic> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c33dff$da386670$0600a8c0@acetic> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: FreeBSD 5.1 and Samba PDC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 05:46:13 -0000 On Sun, Jun 29, 2003 at 03:32:37PM +1000 or thereabouts, Michael Tran wrote: > Hi All, > > Thanks for the replies to my first post about ipfw. All is great now. > > My problem now is that I am implementing a Samba PDC on FreeBSD 5.1 and > am wanting to use the "On-the-Fly" Creation of Machine Trust Accounts > method as detailed in Samba PDC HOWTO document > (http://www.biom.cornell.edu/computer/doc/samba/Samba-PDC-HOWTO.html for > references). As I am a Linux to FreeBSD user, what would I need to put > inplace in the "add user script" instead of that useradd thingy? > > i.e. > [global] > # <...remainder of parameters...> > add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false > -M %u > > I can't use adduser as it does not have anything for -M (according to > the man pages..) I don't know what the -M flag to Linux useradd does, but `pw useradd' is the most flexible user-creation program that exists on FreeBSD. man 8 pw -- Josh > > Thanks, > Michael > > Aka freebsd newbie > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"