Bug 102518

Summary: useradd man page bug
Product: Red Hat Enterprise Linux 3 Reporter: Michael Redinger <michael.redinger>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED NEXTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-30 08:45:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Redinger 2003-08-16 13:20:17 UTC
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 08:45:40 UTC
For 3.9 we are looking only for critical and performance related bugs