Bug 23872 - Command useradd's -m flag has faulty operation
Summary: Command useradd's -m flag has faulty operation
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils   
(Show other bugs)
Version: 6.2
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2001-01-12 14:50 UTC by Need Real Name
Modified: 2007-03-27 03:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-25 02:27:59 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2001-01-12 14:50:56 UTC
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

Comment 1 Nalin Dahyabhai 2001-01-25 02:27:55 UTC
Please Check the setting of the CREATE_HOME flag in /etc/login.defs,
which specifies the default behavior for useradd.

Comment 2 Brent Fox 2002-06-05 03:03:01 UTC
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'

Note You need to log in before you can comment on or make changes to this bug.