I just got an RS6000 Model 140,
with AIX 4.3.2.
The default shell is 'ksh'.
However, ksh is not reading either
/etc/profile, or .profile.
Is there something I need to do
to make a login shell read the
profile files?
Thanks.
Rumi
The default shell is 'ksh'.
However, ksh is not reading either
/etc/profile, or .profile.
Is there something I need to do
to make a login shell read the
profile files?
Thanks.
Rumi
I assume, your RS6000 is configured with CDE login?
Then a file called "~/.dtprofile" is called during login.
It holds a line "DTSOURCEPROFILE=FALSE/TRUE" at the end.
If this variable is set to TRUE, the ~/.profile is sourced too.
The /etc/profile is called by command line login only.
The machines, I am responsible for, have an executable
"/etc/dt/config/Xsession.d/profile" with the following lines:
=============================================
#! /bin/ksh
for PROFILE in /etc/profile.*
do
if test -x $PROFILE
then
echo "--- sourcing $PROFILE ..."
. $PROFILE
fi
done
=============================================
We have one /etc/profile.system for system adjustments like HOSTNAME
variable, PS1 prompt variable, and so on...
Further on we have a /etc/profile.blah for every application called blah,
which sets initial PATH for that application, and son on...
That works fine for us, and application administration is dead easy.
Thomas
Quote:>I just got an RS6000 Model 140,
>with AIX 4.3.2.
>The default shell is 'ksh'.
>However, ksh is not reading either
>/etc/profile, or .profile.
>Is there something I need to do
>to make a login shell read the
>profile files?
>Thanks.
>Rumi
> I just got an RS6000 Model 140,
> with AIX 4.3.2.
> The default shell is 'ksh'.
> However, ksh is not reading either
> /etc/profile, or .profile.
> Is there something I need to do
> to make a login shell read the
> profile files?
> Thanks.
> Rumi
> > I just got an RS6000 Model 140,
> > with AIX 4.3.2.
> > The default shell is 'ksh'.
> > However, ksh is not reading either
> > /etc/profile, or .profile.
> > Is there something I need to do
> > to make a login shell read the
> > profile files?
> > Thanks.
> > Rumi
> That's very unusual. Is that happening to an ordinary user? Are your
> permissions
> "r" for world?
> --
> Norman Levin
> vm/dynAmIX inc.
If it's for an xterm make sure it is a login xterm.
DL
> > I just got an RS6000 Model 140,
> > with AIX 4.3.2.
> > The default shell is 'ksh'.
> > However, ksh is not reading either
> > /etc/profile, or .profile.
> > Is there something I need to do
> > to make a login shell read the
> > profile files?
> > Thanks.
> > Rumi
> That's very unusual. Is that happening to an ordinary user? Are your
> permissions
> "r" for world?
> --
> Norman Levin
> vm/dynAmIX inc.
1. ksh not reading /.profile or /etc/profile
Platform / OS:
Ultra 2 / Sol 2.6
Problem:
/.profile and or /etc/profile not being read from login using ksh when
starting xterm -- works if I telnet in?
Any suggestions?
2. Linux Switch Router, up to 40 gigs per second and up to 128 100mb ports. What do you think??
3. "Screen" prgram: New shells won't read /etc/profile or ~/.profile?
4. Bandwith
5. Telnet login doesn't run /etc/profile or $HOME/.profile
6. anonyous ftp and permissions...
7. /etc/profile or $HOME/profile
8. md5sums
9. root can not edit /etc/hosts or /etc/profile, can not create directory
10. cmdtool doesn't source /.profile or /etc/profile
11. KDE won't start if my .profile or /etc/profile has stty commands
12. Why bash not reading /etc/profile on login?
13. /etc/profile not read by CDE?