Bug 102566

Summary: login(1) man page incorrect
Product: Red Hat Enterprise Linux 3 Reporter: Steve Bonneville <sbonnevi>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low 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: 2004-08-20 19:13:15 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:
Attachments:
Description Flags
Fix for default PATH discussion in login(1) man page none

Description Steve Bonneville 2003-08-18 04:53:29 UTC
Description of problem:

The login(1) man page is incorrect in the upstream util-linux-2.11y source.  The
PATH defaults claimed differ from the ones actually used in lib/pathnames.h. 

The man page claims:
  (regular user): /usr/local/bin:/bin:/usr/bin:.
  (root user): /sbin:/bin:/usr/sbin:/usr/bin

lib/pathnames.h actually sets:
  (regular user): /usr/local/bin:/bin:/usr/bin
  (root user): /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

Version-Release number of selected component (if applicable):
  util-linux-2.11y

Patch to login-utils/login.1 attached.

Comment 1 Steve Bonneville 2003-08-18 05:00:32 UTC
Created attachment 93701 [details]
Fix for default PATH discussion in login(1) man page 

The resulting man page could still use some formatting cleanup.  The context
diff mentions /usr/spool/mail, but this seems to get corrected somehow during
the build process to /var/spool/mail.

Comment 2 Elliot Lee 2004-08-20 19:13:15 UTC
Added to CVS, thanks.