Operating System - HP-UX
1846971 Members
3914 Online
110257 Solutions
New Discussion

Re: Environment Shell not changing

 
Robjan
Frequent Advisor

Environment Shell not changing

Hi
Even I have wrote a script to change the shell from tcsh to bash shell in /etc/profile file .The shell is not changing If I switch user to that another user which has another shell.
Please Solve the issue as soon as possible
Regards
Robin
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: Environment Shell not changing

IIRC tcsh reads
/etc/csh.cshrc
/etc/csh.login
$HOME/.tcshrc or
$HOME/.cshrc
$HOME/.login

but ksh and sh reads
/etc/profile
$HOME/.profile


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Robjan
Frequent Advisor

Re: Environment Shell not changing

ok.Problem solved now giving value in csh.cshrc