How to create automatic profiles

Adrian Ho lexfiend at usa.net
Fri Jun 8 08:53:09 PDT 2001


On Fri, 8 Jun 2001, Stephen Bosch wrote:

> There is another parameter that nobody seems to have mentioned yet (and
> what I was thinking of when I said that "useradd can be configured to
> automatically create directories") and that is found in /etc/login.defs.

There's a reason it's not in the default login.defs, BTW...

> You can add a parameter to /etc/login.defs like so:
>
> CREATE_HOME	yes
>
> I could be wrong but I think this is a generic option.

Nope, it's a RedHat-ism.  Stock useradd actually spits out a message
suggesting '-m' instead.  8-)

-- 
Adrian Ho   lexfiend at usa.net


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the blfs-support mailing list