Ask a Question related to Linux / Unix Administration, Design and Development.
-
Abhijeet #1
problem with execution on .profile
Hi group,
I am having AIX & Solaris m/c. My default shell is ksh. As per as i
understand .profile shud execute everytime i open terminal using
dtterm(winterm). But its not happening in case of these two m/cs. I
have been executing it explicitly after opening terminal.
But .profile gets executed when i telnet(rsh) on these m/cs.
Can somebody enlighten me the reason behind this?
Some references or advise on good admin book are welcome.
thanks in advance
abhijeet
Abhijeet Guest
-
W2K Server Profile Problem
Hi All, I have a Windows 2000 Server running and I have setup a mandatory profile that all users use when logging in. The users login from... -
Mandatory Profile Problem
Hi All, I have a Windows 2000 Server running and I have setup a mandatory profile that all users use when logging in. The users login from... -
4gl interactive debugger execution problem
Hi! I've installed the IBM Informix 4gl interactive debugger 7.30.UC5 in the path /opt/informix/4glid/7.30.UC5. No other Informix products are... -
ICC Profile
I have noticed several previous on this topic and have done all that has been said so far but with no success. When I load Photoshop (v7.0.1) I... -
profile
On Fri, 20 Jun 2003 12:48:14 +1200, c_n_nz@hotmail.com wrote: btw: the latest version of pkg-get, also looks in /usr/sfw/bin for wget. Which if... -
Andreas Schulze #2
Re: problem with execution on .profile
"Abhijeet" <abhi_10dulkr@indiatimes.com> schrieb im Newsbeitrag
news:f0bf477c.0404050109.3f9bc4bc@posting.google.c om...Hallo abhijeet,> Hi group,
> I am having AIX & Solaris m/c. My default shell is ksh. As per as i
> understand .profile shud execute everytime i open terminal using
> dtterm(winterm). But its not happening in case of these two m/cs. I
> have been executing it explicitly after opening terminal.
>
> But .profile gets executed when i telnet(rsh) on these m/cs.
>
> Can somebody enlighten me the reason behind this?
> Some references or advise on good admin book are welcome.
>
> thanks in advance
> abhijeet
not sure about the Solaris thing but to use X-apps with AIX you need to have
a .dtprofile with an activated
DTSOURCEPROFILE=true
line (e.g. remove the # to uncomment). This will load your .profile. Mind
that AIX ksh expects aliases and functions in a separate .kshrc which again
is activated by the ENV variable from the .profile.
export ENV=~/.kshrc
HTH,
Andreas
Andreas Schulze Guest
-
Jeff Schwab #3
Re: problem with execution on .profile
Abhijeet wrote:
The ".profile" is read only by login shells. When you rsh, you're> Hi group,
> I am having AIX & Solaris m/c. My default shell is ksh. As per as i
> understand .profile shud execute everytime i open terminal using
> dtterm(winterm). But its not happening in case of these two m/cs. I
> have been executing it explicitly after opening terminal.
>
> But .profile gets executed when i telnet(rsh) on these m/cs.
>
> Can somebody enlighten me the reason behind this?
> Some references or advise on good admin book are welcome.
>
> thanks in advance
> abhijeet
creating a login shell; when you open a terminal in an existing session,
you create a non-login shell. Keep "one-time" stuff, e.g. the setting
of exported environment variables, in .profile. Move per-shell stuff,
e.g. alias definitions, to .kshrc.
Jeff Schwab Guest
-
Bill #4
Re: problem with execution on .profile
[email]abhi_10dulkr@indiatimes.com[/email] (Abhijeet) wrote in message news:<f0bf477c.0404050109.3f9bc4bc@posting.google. com>...
Perhaps you should look into using ~/.dtprofile ?> Hi group,
> I am having AIX & Solaris m/c. My default shell is ksh. As per as i
> understand .profile shud execute everytime i open terminal using
> dtterm(winterm). But its not happening in case of these two m/cs. I
> have been executing it explicitly after opening terminal.
>
> But .profile gets executed when i telnet(rsh) on these m/cs.
>
> Can somebody enlighten me the reason behind this?
> Some references or advise on good admin book are welcome.
>
> thanks in advance
> abhijeet
BV
Bill Guest
-
Steve Nottingham #5
Re: problem with execution on .profile
[email]abhi_10dulkr@indiatimes.com[/email] (Abhijeet) wrote in message news:<f0bf477c.0404050109.3f9bc4bc@posting.google. com>...
> Hi group,
> I am having AIX & Solaris m/c. My default shell is ksh. As per as i
> understand .profile shud execute everytime i open terminal using
> dtterm(winterm). But its not happening in case of these two m/cs. I
> have been executing it explicitly after opening terminal.
>
> But .profile gets executed when i telnet(rsh) on these m/cs.
Remove the hash "#" in the line:
# DTSOURCEPROFILE=true
from the file: .dtprofile in your home directory.
Steve
Steve Nottingham Guest
-
Abhijeet #6
Re: problem with execution on .profile
Thank you guys for your responses,
its working fine now.
regards
abhijeet
[email]steve@wakefieldrfc.freeserve.co.uk[/email] (Steve Nottingham) wrote in message news:<42862645.0404050706.193f7d87@posting.google. com>...> [email]abhi_10dulkr@indiatimes.com[/email] (Abhijeet) wrote in message news:<f0bf477c.0404050109.3f9bc4bc@posting.google. com>...>> > Hi group,
> > I am having AIX & Solaris m/c. My default shell is ksh. As per as i
> > understand .profile shud execute everytime i open terminal using
> > dtterm(winterm). But its not happening in case of these two m/cs. I
> > have been executing it explicitly after opening terminal.
> >
> > But .profile gets executed when i telnet(rsh) on these m/cs.
>
> Remove the hash "#" in the line:
> # DTSOURCEPROFILE=true
>
> from the file: .dtprofile in your home directory.
>
> SteveAbhijeet Guest
-
Arbab f Ahmed #7
Re: problem with execution on .profile
"Andreas Schulze" <b79xan@gmx.de> wrote in message
news:c4ri7l$2lgoef$1@ID-208966.news.uni-berlin.de...have> "Abhijeet" <abhi_10dulkr@indiatimes.com> schrieb im Newsbeitrag
> news:f0bf477c.0404050109.3f9bc4bc@posting.google.c om...>> > Hi group,
> > I am having AIX & Solaris m/c. My default shell is ksh. As per as i
> > understand .profile shud execute everytime i open terminal using
> > dtterm(winterm). But its not happening in case of these two m/cs. I
> > have been executing it explicitly after opening terminal.
> >
> > But .profile gets executed when i telnet(rsh) on these m/cs.
> >
> > Can somebody enlighten me the reason behind this?
> > Some references or advise on good admin book are welcome.
> >
> > thanks in advance
> > abhijeet
> Hallo abhijeet,
>
> not sure about the Solaris thing but to use X-apps with AIX you need toagain> a .dtprofile with an activated
> DTSOURCEPROFILE=true
> line (e.g. remove the # to uncomment). This will load your .profile. Mind
> that AIX ksh expects aliases and functions in a separate .kshrc which> is activated by the ENV variable from the .profile.
> export ENV=~/.kshrc
>
> HTH,
> Andreas
>
>
Arbab f Ahmed Guest
-
Dave Hinz #8
Re: problem with execution on .profile
On 6 Apr 2004 00:37:06 -0700, Abhijeet <abhi_10dulkr@indiatimes.com> wrote:
Glad to hear it. Maybe you could not top-post responses?> Thank you guys for your responses,
> its working fine now.
> regards
> abhijeet
Dave Hinz Guest



Reply With Quote

