Operating System - HP-UX
1823415 Members
2699 Online
109655 Solutions
New Discussion юеВ

Console login problem...I give up!

 
SOLVED
Go to solution
Kathleen
Regular Advisor

Console login problem...I give up!

I can't login to my console with the root login. We are on a L2000 server, HP-UX 11.0

I have tried copying the .profile for root from a working system to this system....same result. I can telnet into the system with this login but just not get in at the console. I don't have a /etc/securetty file. June 2001 periodic patch is on this system.

There are no errors when I try to login....it just seems that after we type in the password, it hangs at that entry. We either have to grep for console and kill or it just comes back as if being timed out. If it does happen to act as if taking us a little further....we get the text 29D2C0;7;1M;Request Server 29D that shows up every time we hit the space bar.

I tried another login with root rights, and I can't get in with that login either. It just stays at the password prompt. One time it told me incorrect or invalid login. I created a new login, can't get in with that either....same hanging at the password prompt. I am not sure what to try next. Any suggestions would be greatly appreciated.

Oh, and there are no special characters in our password.
thanks
21 REPLIES 21
linuxfan
Honored Contributor

Re: Console login problem...I give up!

Hi Kathleen,


You said you cannot directly login to the console, but you can su to root. is that right?
Check the syslog.log, also check /etc/profile, are you doing anything there to prevent root from directly logging in.

You already checked /etc/securetty. I would say definitely check /etc/profile.

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Tim Krego_1
Frequent Advisor

Re: Console login problem...I give up!

I'm new to HPUX, so I may not be of much help.

Have you tried booting into single user mode?

HP/UX Newbie
Sanjay_6
Honored Contributor

Re: Console login problem...I give up!

Hi,

Is this problem only with root login or other logins too. Can you login as any other user, not with root id say a regular user.

This might help in isolating the issue.

Thanks
Sachin Patel
Honored Contributor

Re: Console login problem...I give up!

Hi Kathleen,
If you are using CDE then try login using option-commandline login. If it works then you can be sure that it is CDE login problem.

Sachin.
Is photography a hobby or another way to spend $
Kathleen
Regular Advisor

Re: Console login problem...I give up!

I looked at the /etc/profile and compared it with another system we have. They look the same. Is there something specific I should be looking for?

I tried 3 different logins on the console and none of them worked.

Sanjay_6
Honored Contributor

Re: Console login problem...I give up!

Hi Kathleen,

If you have tried three different logins and none of them worked, it seems there is no problem with the profile. you are able to login using telnet.

It looks like your console terminal settings have got changed. If it is a hp console terminal, select user system keu on keyboard, select F8 for config keys, Select F5 for terminal config and Select F4 to reset terminal settings to Default, Select F1 to save settings. Exit and reset the terminal.

If it still dosen't work, you may have to look at the getty running for the console port.


Hope this helps

Thanks
Kathleen
Regular Advisor

Re: Console login problem...I give up!

I did do a reset on the terminal by holding down the d key while restarting the terminal (and also a shift-d)....it appears to have reset it but I am still having the problem.

How do I check the other option you were talking about and how should it be set?
harry d brown jr
Honored Contributor

Re: Console login problem...I give up!

If you have another console, I'd try that, and then possibly the cables.

Also, check the /etc/inittab file, and make sure you have this line in it:

cons:123456:respawn:/usr/sbin/getty console console
Live Free or Die
Kathleen
Regular Advisor

Re: Console login problem...I give up!

I have tried a new console, same problem. Same counole but different cable, same problem.

And I have that line in my /etc/inittab
Sanjay_6
Honored Contributor

Re: Console login problem...I give up!

Hi,

Like harry is saying, u have to look for this entry in /etc/inittab

cons:123456:respawn:/usr/sbin/getty console console

Also there should be an entry in your /etc/gettydefs that looks like

console # B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# Console Login :#console

Hope this helps

Thanks
Kathleen
Regular Advisor

Re: Console login problem...I give up!

The entries that were pointed out are in the appropriate files
/etc/inittab reads...
cons:123456:respawn:/usr/sbin/getty console console

/etc/gettydefs reads...
console # B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
#Console Login: #console
Sanjay_6
Honored Contributor

Re: Console login problem...I give up!

Hi Kathleen,

One the console login hangs up at the password prompt, if you login from another wkstn and go a grep on the process running on console tty, what does it show. I'm trying to emulate your problem on my console and have been unsucessful till now.

Thanks
Kathleen
Regular Advisor

Re: Console login problem...I give up!

root 4048 1 0 14:37:11 console 0:00 /usr/sbin/getty console console
Sanjay_6
Honored Contributor
Solution

Re: Console login problem...I give up!

If the getty is still running when you have type root and the system is waiting for password, it means the system has not accepted your input at the login prompt.

It should show login root as the process running when the login name is typed as root and the sytem is waiting for password.

Silly of me to ask, but have you tried a working terminal and a working keyboard together.

Thanks
harry d brown jr
Honored Contributor

Re: Console login problem...I give up!

Without logging in at the console, can you enter the GSP (ctrl-b)??
Live Free or Die
linuxfan
Honored Contributor

Re: Console login problem...I give up!

Hi Kathleen,


Not sure if you already checked or not but on a L-2000, there is three-way splitter at the back, one is for UPS, one is for modem, and one is for console. Are you sure you are hooking your physical console to the right cable.

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
linuxfan
Honored Contributor

Re: Console login problem...I give up!

Sorry, take it back, you mentioned you were getting password prompt. Is it possible to post your /etc/profile.

-Ramesh
They think they know but don't. At least I know I don't know - Socrates
Angus Crome
Honored Contributor

Re: Console login problem...I give up!

Check to make sure you are not resetting the TERMINAL variable somewhere. I have seen some behavior with similar output type (29D2C0;7;1M;Request Server 29D) when accidentally setting my terminal type to vt52 or wyse52. The screen function is very different between these old definitions and the newer ones. If this is the case, then you are getting silent codes back on your screen which are interfering with the normal buffer scan on your terminal.
Basically, when you enter your username (root), you screen shows almost nothing, but actually inserts characters and/or hidden characters (terminal codes) in between the letters.
I generally try to use the hp or vt100 terminal types for console login.
There are 10 types of people in the world, those who understand binary and those who don't - Author Unknown
Denver Osborn
Honored Contributor

Re: Console login problem...I give up!

Hi Kathleen,

Are you able to login as any user at the console? If so, can you "su -" from a user to root?

If you could, please add the following line to the top of your .profile;

set -x

Now login at the console as root, if it parses the .profile we should atleast see if/where it hangs. You could always copy root's default .profile from /usr/newconfig/.profile. This would be better than a copy from another system.

More importantly, I'm not sure if you've answered that you can login as root from anywhere other than the console. Can you?

-denver
Magdi KAMAL
Respected Contributor

Re: Console login problem...I give up!

Hi Kathleen,

I agree with Denver, you may also add the following in your .profile file :

stty hupcl ixon ixoff

and it will work.

I would appreciate that HP correct this bug, because after installing hp-ux 11.0 and having such a problem, it really generates "Adrenalin" !

Magdi
Magdi
harry d brown jr
Honored Contributor

Re: Console login problem...I give up!

Are the passwords you used, to attempt to login from the console, for those accounts greater than 8 characters?
Live Free or Die