1826419 Members
3245 Online
109692 Solutions
New Discussion

Re: Login Problems

 
Denton Williams
Advisor

Login Problems

Hi All,
I created a new user and upon logon my .profile file is not processed. I have some environment variables set in the .profile and it does not show up when I print env. The odd thing is that if I do a telnet session, my environment is set, but when I log on through the login screen my environment is not set. Can someone please give me some pointers????

The account is set to run /usr/bin/sh.

Thanks for you help.

Dee.
Working hard
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: Login Problems

hi,

If you are logging thru CDE and want your .profile to execute, edit the file $HOME/.dtprofile and uncomment the line DTSOURCEPROFILE=true. Remove the "#" . This line is at the bottom of the file $HOME/.dtprofile for that user.

Hope this helps.

Regds
harry d brown jr
Honored Contributor

Re: Login Problems

Dee,

What login screen are you talking about? Something like CDE??

live free or die
harry
Live Free or Die
Craig Rants
Honored Contributor

Re: Login Problems

I assume that you mean you are getting in through CDE when the problem occurs.

Put this in you .Xdefaults file and see how things go.

dtterm*loginShell: True

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Denton Williams
Advisor

Re: Login Problems

Thanks for your help Sanjay. It worked like a charm
God Bless.

Dee.
Working hard
Sanjay_6
Honored Contributor

Re: Login Problems

Hi,

Glad it worked. Thanks for posting the results.

Regds
Sanjay