Operating System - HP-UX
1826498 Members
2733 Online
109692 Solutions
New Discussion

Shell prompt is not shown in HPUX 10.20

 
SOLVED
Go to solution
Johnson Punniyalingam
Honored Contributor

Re: Shell prompt is not shown in HPUX 10.20

still no attachment ? were is it ?
Problems are common to all, but attitude makes the difference
senthil_kumar_2
Regular Advisor

Re: Shell prompt is not shown in HPUX 10.20

Please find my /etc/profile file
senthil_kumar_2
Regular Advisor

Re: Shell prompt is not shown in HPUX 10.20

Hi All,

Actuall this server (HP-UX 10.20 - client2) is connected with NIS server (HP-UX 11.00 - server1) and home directory of server1 is mounted with client2. and we have one another server (HP-UX 10.20 - client3)

So all the users available in server1 can login from client2 and client3.

Now I have the above mentioned issue in client2 but not in client3 (both client2 and client3 are having same OS version).

Location of home directories for all the users in server1.

/emd/home/*

The same path has been exported via NFS and mounted in both NIS clients (client2 and client3).

Ex:

# bdf
server1:/emd/home 61440000 59317952 2120096 97% /emd/home


As part of trouble shooting , I have created one local user "opstest" and having home directory in local (/home/opstest) in client2

Now I am able to login as user id "opstest" and get the shell prompt.

Then I believed that there may be issue with "server:/emd/home/ze4egi/.profile" (ze4egi --> is the user id available in server1 and not able to login from client 2).

So that I have copied the file "/home/opstest/.profile" from client2 to server:/emd/home/ze4egi/.profile.

Now alos I have same issue in client 2.


How to resolve this?
Robert-Jan Goossens_1
Honored Contributor

Re: Shell prompt is not shown in HPUX 10.20

could you attach the .profile?
senthil_kumar_2
Regular Advisor

Re: Shell prompt is not shown in HPUX 10.20

Please find .profile
Alex Glennie
Honored Contributor
Solution

Re: Shell prompt is not shown in HPUX 10.20

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=184487

Steve Steel's suggestion maybe worth a quick try ?
senthil_kumar_2
Regular Advisor

Re: Shell prompt is not shown in HPUX 10.20

Hi Alex and Stev,

Thanks a lot for giving the solution for long bending issue.