Bug 23872 - Command useradd's -m flag has faulty operation
Summary: Command useradd's -m flag has faulty operation
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils
Version: 6.2
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2001-01-25 02:27:59 UTC
Embargoed:


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
anoying.

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.