Red Hat Bugzilla – Bug 23872
Command useradd's -m flag has faulty operation
Last modified: 2007-03-26 23:39:12 EDT
As far as I can see useradd has a new behavior in 6.2. The -m flag normally
has to be given to ensure that a new directory is created, but without or
without the flag in 6.2, a new directory is created, which is somewhat
Please Check the setting of the CREATE_HOME flag in /etc/login.defs,
which specifies the default behavior for useradd.
Just checking with 7.3, the default behavior is to create the directory, and
this is specified in /etc/login.defs. Changing the behavior to "no" does the
right thing. Closing as 'worksforme'