Bug 224083

Summary: pdksh does not load ~/.profile
Product: Red Hat Enterprise Linux 4 Reporter: Chris Naude <cnaude>
Component: pdkshAssignee: Karsten Hopp <karsten>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-24 09:41:48 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 Chris Naude 2007-01-23 23:10:30 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Version 5.2.14
Release 30.3

How reproducible:
Every time I login this occurs

Steps to Reproduce:
1. Create ~/.profile with custom settings
2. Switch to ksh or login with ksh
3. 
  
Actual results:
The ~/.profile is never read

Expected results:
The ~/.profile needs to be sourced according to the man pages

Additional info:

Comment 1 Karsten Hopp 2007-01-24 09:41:48 UTC
How are you testing this ?
Please note that you either need to set your login shell to /bin/ksh with the
chsh command or you need to start ksh with the '-l' parameter to make it a login
shell.

Both ways work for me on RHEL-4.4 with pdksh-5.2.14-30.3
p.e.
> cat ~/.profile
echo running $HOME/.profile
> ksh -l
running /home/karsten/.profile
>

Comment 2 Chris Naude 2007-01-24 15:26:26 UTC
I created another LDAP account and it works as it's supposed to. I tested it on
several other machines and it works correctly. The issue seems to be specific to
one LDAP account on one machine. Thanks for your assistance.