Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2003 22:48:59 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Michael Tran <acetic@webone.com.au>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD 5.1 and Samba PDC
Message-ID:  <20030629054859.GA87548@webserver.get-linux.org>
In-Reply-To: <000001c33dff$da386670$0600a8c0@acetic>
References:  <000001c33dff$da386670$0600a8c0@acetic>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030629054859.GA87548>