Date: Tue, 10 Oct 2006 11:27:46 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Niek Dekker <niekdekker@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: How does useradd determine the default mailbox/maildir location for new users Message-ID: <44ac44dwct.fsf@be-well.ilk.org> In-Reply-To: <452A6AA5.2010400@gmail.com> (Niek Dekker's message of "Mon, 09 Oct 2006 17:28:37 %2B0200") References: <452A6AA5.2010400@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Niek Dekker <niekdekker@gmail.com> writes: > I am running Exim 4.62 MTA on FBSD 6.0_release. > When I create a new user using useradd, a mailbox file for the new > user is created in /var/mail. I assume you mean adduser(8). > As I am using Maildir with maildirs in /var/mail, I do not want that. Hmm, yes. > My question is, where is this behavior of useradd configured? It isn't. It appears to be hardwired into pw(8), which is the basic tool around which adduser(8) is built. > I cannot find this in the handbook. There is no /etc/useradd.conf > neither an /etc/pw.conf on my system and also the contents of > /usr/share/skel do not seem to make a difference. And none of those are documented to do anything of the sort. I think you should just write your own wrapper. You could write it as a wrapper for adduser, or you could make your own version of adduser (which is just a shell script).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ac44dwct.fsf>
