[comp.sys.hp] Remote Terminal Problems

is813cs@pyr.gatech.EDU (Cris Simpson) (12/21/88)

I have a 319C+ running HP-UX 6.2.  When I connect a terminal to the 
98644 serial port, it is impossible to log in on an account with
a password.  On an account w/o a password, the logon is almost
instantaneous.  This happens whether or not someone is logged
on at the console.  The machine has 16Meg of RAM, so that should not 
be a problem.  When logged on as root at the console, it is impossible 
to do a "ps" while the password check on the tty user is running.
The ps just never returns.   This happens even at "nice --19".
BTW, the password check always fails.   Any ideas?

After this, maybe I'll ask about my troubles with the 9144...

Thanks,
   cris

-- 
||...despair! Despair I can handle, it's the hope...    J.Cleese,Clockwise ||
Cris Simpson
                  is813cs@pyr.gatech.edu               GA Tech      Atlanta,GA
            ...!{akgua,allegra,amd,hplabs,seismo,ut-ngp}!gatech!gitpyr!is813cs

rdg@hpfcmr.HP.COM (Rob Gardner) (12/28/88)

> I have a 319C+ running HP-UX 6.2.  When I connect a terminal to the 
> 98644 serial port, it is impossible to log in on an account with
> a password.  On an account w/o a password, the logon is almost
> instantaneous.  This happens whether or not someone is logged
> on at the console.  The machine has 16Meg of RAM, so that should not 
> be a problem.  When logged on as root at the console, it is impossible 
> to do a "ps" while the password check on the tty user is running.
> The ps just never returns.   This happens even at "nice --19".
> BTW, the password check always fails.   Any ideas?

I'd be willing to bet that your /dev/tty is messed up. It should look like:

crw-rw-rw-   1 root     other     2 0x000000 Dec 27 15:07 /dev/tty

But I bet it actually looks something like this:

crw-rw-rw-   1 root     other      1 0x090000 Dec 27 15:07 /dev/tty
 or
crw-rw-rw-   1 root     other      0 0x000000 Dec 27 15:07 /dev/tty

Now take a look at /dev/console:

crw-rw-rw-   1 root     other      0 0x000000 Dec 27 15:07 /dev/console

Notice any inconsistencies?

What's happening is that root is logged in on /dev/console, and login
prompts for a password on /dev/tty, but your /dev/tty actually points
to /dev/console! Try entering the password on the console when it prompts.

How did it get like this, you ask? I'm afraid that human intervention
is the only possibility :-(
 
    Rob Gardner                     hplabs!hpfcmr!rdg
    Hewlett Packard                 or rdg%hpfcmr@hplabs.hp.com
    Fort Collins, Colorado          303-229-2048
		80525-9599

		     "Ask me about Home Brewing"

rdg@hpfcmr.HP.COM (Rob Gardner) (01/04/89)

> How did it get like this, you ask? I'm afraid that human intervention
> is the only possibility :-(

I'll retract this statement, since I just now found several other
instances of /dev/tty getting messed up in exactly the same way.
So now I suspect some script or application that is doing it.
Curiously, /dev/tty seems to be linked to /dev/syscon and /dev/systty.
This is clearly the doing of some misguided script.

Clues/hints appreciated.

raab