Bug 224083 - pdksh does not load ~/.profile
Summary: pdksh does not load ~/.profile
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: pdksh
Version: 4.4
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Karsten Hopp
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-01-23 23:10 UTC by Chris Naude
Modified: 2007-11-17 01:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-01-24 09:41:48 UTC
Target Upstream Version:

Attachments (Terms of Use)

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
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

Both ways work for me on RHEL-4.4 with pdksh-5.2.14-30.3
> 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.

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