[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] enewuser: home beloning $user:root inset of $user:$group
From:       Maxim Kammerer <mk () dee ! su>
Date:       2012-07-22 1:45:38
Message-ID: CAHsXYDAy4vBFHO4AOR_bDPNwnAj0y5NeXDC7opqB-dHi0_B5YQ () mail ! gmail ! com
[Download RAW message or body]

On Sun, Jul 22, 2012 at 4:22 AM, Michael Weber <xmw@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic