1833758 Members
2445 Online
110063 Solutions
New Discussion

.profile problem

 
SOLVED
Go to solution
Binubaby
Frequent Advisor

.profile problem

Hello members,

I am facing a problem with my HPUX 11i startup while login as any user the .profile file will not execute, but if I am using root login the .profile is working okay. The default shell is configured for ksh for user. any solutions advice ..please reply ASAP

Regards

Binu

BB
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: .profile problem

Hi Binu,

Could you check the permissions of the /etc directory and the /etc/profile file.

Hope this helps,
Robert-Jan
Paula J Frazer-Campbell
Honored Contributor

Re: .profile problem

Hi

Robert has most likly got it, but what errors are being displayed?

Paula
If you can spell SysAdmin then you is one - anon
Bharat Katkar
Honored Contributor

Re: .profile problem

Binu,
Also check the permissions of .profile files of Users.

Regards,
You need to know a lot to actually know how little you know
Dave La Mar
Honored Contributor
Solution

Re: .profile problem

Binu -
Are you sure it is the .profile or are you referring to the .kshrc?
If referring to the .kshrc then DTSOURCEPROFILE=true must be set in the .dtprofile.
Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
Sridhar Bhaskarla
Honored Contributor

Re: .profile problem

Hi Binu,

If you are talking about login to CDE, then make sure the user has a file called .Xdefaults in the home directory with the line "dtterm*loginShell: True". This will make the dtterm to execute .profile. Add more lines replacing dtterm with hpterm, xterm etc., depending on your requirements.

If the login is not through CDE, then as mentioned before, it's a permissions issue and follow the corresponding suggestions.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try