Operating System - HP-UX
1820733 Members
3143 Online
109627 Solutions
New Discussion юеВ

Error Message "USER: Undefined variable

 
mike_teoh
Occasional Contributor

Error Message "USER: Undefined variable

I am presently login in the workstation using the created account eg "arene" and check using comnad "echo $USER" , it showed "arene".My workstation is running .cshrc file and under platform hp ux ver 10.20.

But when telnet my server, and login using the same account. It prompts me "USER: Undefined variable".
I don't know what goes wrong? Upon execute "echo $USER" in the server, it shows the same error message.
Execute command use "whoami", it shows "arene".
My server side run under hp ux ver 11.0.

Can anyone kind to help up ?
Thank in advance
2 REPLIES 2
Laurent Paumier
Trusted Contributor

Re: Error Message "USER: Undefined variable

USER is not a standard var. You'll have to find where it is set and see how it is set.
KapilRaj
Honored Contributor

Re: Error Message "USER: Undefined variable

hi,

the prblem is,

When you login to workstation localy /etc/profile & $HOME/.dtprofile are exicuted , When you login from telnet /etc/profile & $HOME/.cshrc are exicuted that's the issue

kaps
Nothing is impossible