Date: Mon, 9 Oct 2006 16:56:10 -0400 (EDT) From: up@3.am To: freebsd-questions@freebsd.org Cc: Niek Dekker <niekdekker@gmail.com> Subject: Re: How does useradd determine the default mailbox/maildir location Message-ID: <Pine.BSF.4.44.0610091653180.51555-100000@richard2.pil.net>
next in thread | raw e-mail | index | archive | help
What I do is remove FreeBSD's adduser script and make my own, which does something like this: pw useradd $USERNAME -g users -L users -m -s /bin/true -k /etc/skel \ || exit passwd $USERNAME echo $USERNAME > /home/$USERNAME/.qmail-default chmod 711 /home/$USERNAME Of course, you need an /etc/skel with a properly set up Maildir (plus .qmail, public_html or anything else you want) and edit those tags to suit your requirements. HTH, James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am =========================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0610091653180.51555-100000>