Bug 24257 - /etc/skel/.bash_profile sets empty $USERNAME
Summary: /etc/skel/.bash_profile sets empty $USERNAME
Keywords:
Status: CLOSED DUPLICATE of bug 24256
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: etcskel
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-18 00:03 UTC by John Hardin
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-01-18 00:03:56 UTC
Embargoed:


Attachments (Terms of Use)

Description John Hardin 2001-01-18 00:03:53 UTC
The default .bash_profile in /etc/skel sets $USERNAME to "".

It should either set it to $USER, or `id -un` (ala /etc/profile) or leave
it undefined. Setting it explicitly to empty makes no sense.

This problem also exists in 7.0

Comment 1 Trond Eivind Glomsrxd 2001-01-18 01:43:07 UTC

*** This bug has been marked as a duplicate of 24256 ***


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