Operating System - HP-UX
1834015 Members
2711 Online
110063 Solutions
New Discussion

Shell no longer works for users after applying ACE5

 
SOLVED
Go to solution
Larry Le
Occasional Advisor

Shell no longer works for users after applying ACE5

I had to apply ACE5 for HP-UX 10.20 to run some CAE software (req'd from vendor). However, after applying ACE5 for the J210 workstation, I lost terminal shell prompt for all users except root (dtterm, hpterm, xterm...).
Any idea how to fix this? Another patch? TIA. --Larry
9 REPLIES 9
Andy Monks
Honored Contributor

Re: Shell no longer works for users after applying ACE5

When you say "you've lost the shell prompt", do you mean, you can't get to a shell, or just the prompt has gone?

if it's the latter, one of the patches may have changed /etc/profile, in which you may have changed the environment variable PS1.

Assuming sh/ksh try doing :-

export PS1="$"

Of course you may have had something more 'fun' in there, but it will be a start
Alan Riggs
Honored Contributor

Re: Shell no longer works for users after applying ACE5

Have you applied the latest Xserver cumulative patch? I believe it is:

PHSS_21461
Larry Le
Occasional Advisor

Re: Shell no longer works for users after applying ACE5

Hi Andy,
The users still can open dtterm from the panel. After open a shell, the prompt is just the flashing cursor. If you type anything to the shell, it just echo without response (???). The shell still works for root as normal.
--Larry
Andy Monks
Honored Contributor

Re: Shell no longer works for users after applying ACE5

Oh that's cute. Does sound like Xserver/motif/cde related.

It might be worth creating a new user and seeing if they have the same issue and/or renaming the .dt directory of a user to see if that helps.
Larry Le
Occasional Advisor

Re: Shell no longer works for users after applying ACE5

Hi Allan,
Yes, I have applied PHSS_21461.
--Larry
Brian M. Fisher
Honored Contributor
Solution

Re: Shell no longer works for users after applying ACE5

I have seen this problem before. Are the users home directories NFS mounted?
To write the history file local instead of across the NFS mount, do:

1. edit .dtprofile for that user

2. HISTFILE=/tmp/$LOGNAME.sh_history
export HISTFILE

This is the old KSH spin issue and can be permanently resolved by
adding the latest NFS/NIS patches.


Brian
<*(((>< er
Perception IS Reality
Larry Le
Occasional Advisor

Re: Shell no longer works for users after applying ACE5

Hi Andy,
Creat new user as you suggested doesn't do :(
--Larry
Larry Le
Occasional Advisor

Re: Shell no longer works for users after applying ACE5

Hi Brian,
Yes. You hit it right on the head. I guess I need the latest NFS/NIS patch? Thanks Brian.
--Larry
Alan Riggs
Honored Contributor

Re: Shell no longer works for users after applying ACE5

Sounds like you owe Brian some points, then.