Bug 102518 - useradd man page bug
useradd man page bug
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: shadow-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-08-16 09:20 EDT by Michael Redinger
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-10-30 03:45:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michael Redinger 2003-08-16 09:20:17 EDT
The useradd man page says that the default is to not create a user's home directory:

-m     (...) The default is to not create the directory and to not copy any files.

That is obviousely wrong. What really happens is described right below
for -M (-M is included in the shadow-4.0.3-redhat.patch):

-M     The user home directory will not be created, even if the  system
       wide settings from /etc/login.defs is to create home dirs.

So maybe add the note about /etc/login.defs to -m, too?
(CREATE_HOME is not set in the original package, so the current behaviour of -m
is Red Hat specific.)
Comment 1 Peter Vrabec 2006-10-30 03:45:40 EST
For 3.9 we are looking only for critical and performance related bugs

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