Autoadd is yours for the taking.  If you like it, use it.
If not, trash it.  I wrote it just for fun, and because I
needed it.  It's hereby put in the public domain; no
copyright, no send-me-money, no nothing.

Autoadd is a batch adduser program.  It's in C, with one
call to the "system()" (to mkdir) (why reinvent TWO wheels?)
(Oh yeah, I think I also sytem("cp ....") just from sheer
laziness).

I'd have to admit to a little hubris, though, in titling the
man page with a ".8" suffix instead of ".1".  Feel free to
move it to ".1" if you see fit.

I have included my own /etc/ausr and /etc/kusr (Bourne) shell
scripts just for comparison with the autoadd.c program.  Throw
them away quickly if you have your own favorite (which most
everybody should, I guess.).

NB: this is one of those "Oh, he wants me to run this as root?"
programs.  Well, the source is not very long; and it's intended
to be totally readable to the most casual of observers, so
use if you like, but 

#include <standard.disclaimer>

See mostly the autoadd.h comments and #defines, but also take
a look at initfiles.c .
--- jhn

Oh yeah, all these sources should be looked at with tab stops
set at four.  They were created using vi with autoindent and
tabstops at four.  Stops of eight will make some of the lines run
off the screen.  Alternatively, run them thru sed and change 
all \t to four blanks (which I did not do, in the interest of
keeping the byte count down).
--- jhn
