My entire point was that you should call adduser from a Perl script (since it's glue), as this is perlmonks :)
IIRC you can pass a parameter to adduser where to create the homedir... You can have your perl code create mount points, spread it on different servers, etc.
I doubt you'll be able to mimic the adduser behaviour with a few lines of Perl. Each platform probably has a somewhat tweaked version of adduser. If you can't guarantee the reliability of some system tools, you shouldn't have 'clericals' adding user accounts in the first place.
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur. | [reply] |