FreeBSD 5.1 and Samba PDC

Joshua Oreman oremanj at
Sat Jun 28 22:46:13 PDT 2003

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
> ( 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 at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list