Operating System - HP-UX
1838407 Members
3208 Online
110125 Solutions
New Discussion

Logging on with posix shell.

 
SOLVED
Go to solution

Logging on with posix shell.

Hello, I have a few old systems that still use 9.05.
One group of users trying to logon using the posix shell cannot get onto the system. The login hangs when it tries to execute the /usr/vue/bin/vuelogin. Can someone please help me with this problem.
7 REPLIES 7
U.SivaKumar_2
Honored Contributor

Re: Logging on with posix shell.

Hi,
Does the problem exists for only POSIX shell ?.

regards,
U.SivaKumar
Innovations are made when conventions are broken

Re: Logging on with posix shell.

Yes everyone else can logon just fine.
Alex Glennie
Honored Contributor

Re: Logging on with posix shell.

So the problem is users attempt to login via vue and if their shell is set to posix the login screen hangs ?

Qu's ... does the problem occur if they telnet onto the affected system ? Do you get errors to the console or syslog.log ?

Anything unusual or changed recently in their .profiles ?

You may like to try adding set -x in the users $HOME/.vueprofile and then attempt to login via vue and then see if any additional info is in $HOME/.vue/startlog.
Peter Kloetgen
Esteemed Contributor

Re: Logging on with posix shell.

Hi Brian,

did you check, if the POSIX shell is found? Try the following command:

whereis sh

Can you start a posix shell manually?

sh

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Frank Slootweg
Honored Contributor

Re: Logging on with posix shell.

Which path name do you use for the POSIX shell? (On pre-10.X, the POSIX shell is *not* /usr[/bin/]sh. I forgot what it was. See the *9.X* sh(1) manual page for details.)
Bill Hassell
Honored Contributor
Solution

Re: Logging on with posix shell.

Perhaps I can help: there is no POSIX shell for anything prior to 10.00 HP-UX. The shell called: /bin/sh is the Bourne shell and will have big problems with ksh (or other POSIX compliant shell constructs like bash). 9.05 has:

/bin/sh - Bourne
/bin/ksh - Korn shell
/bin/csh - C shell


Bill Hassell, sysadmin
Frank Slootweg
Honored Contributor

Re: Logging on with posix shell.

Bill, thanks for the correction! That is what I get for believing the documentation instead of my memory! :-)

I remembered/was_convinced that 9.X did not have a POSIX shell (i.e. like you mentioned), but because the Question Author mentioned the POSIX shell on 9.05, I checked the 10.X Release Notes. They (strongly) imply that pre-10.X had a POSIX shell, so I took the documentation over my memory. Wrong, wrong! :-)

In hindsight, the documentation was not incorrect, but 'just' confusing/vague/etc.. ("Yeah, Frank! Whatever you say, Frank!" :-)).

So, now I know what "RTFM" *really* means!

[N/A please]