On Sun, Jul 22, 2012 at 4:22 AM, Michael Weber <x...@gentoo.org> wrote:
> Yeah, just allow optional arguments to useradd like (useradd --help)
>   -m, --create-home             create the user's home directory
>   -M, --no-create-home          do not create the user's home directory

IIRC, enewuser allowed extra arguments to useradd previously —
however, this feature was removed, probably because enewuser-like
functions are supposed to be multi-platform. I think that -M didn't
work even back then, since home directory is created explicitly by
enewuser.

-- 
Maxim Kammerer
Liberté Linux: http://dee.su/liberte

Reply via email to