On Fri, Aug 11, 2000 at 01:42:21PM +0100, Slider wrote:
> I am trying to create a small Sun Solaris 5.7 development server! I am
> having trouble creating the Maildir for the user when I am adding him!
> 
> Command thus #> useradd -s /bin/true -d /usr/home/user -m user
> 
> Unfortunately this is not creating the Maildir
 
I assume you mean that you're using Solaris 7.

If you want Solaris useradd to create Maildir's in new user directories
with the -m flag, you need to create a Maildir in /etc/skel.

You do this by:

/var/qmail/bin/maildirmake /etc/skel/Maildir/

After that, all new user directories created with useradd -m will
have Maildir's created by default.  That is to say, it's not 
retroactive. :)

John White

Reply via email to