1833994 Members
4704 Online
110063 Solutions
New Discussion

Re: Strange login

 
simon_164
Super Advisor

Strange login

I am trying to login to my HP-UX 11.23 and whenever i type the username then i type enter and suddenly the system responds with login incorrect without even asking for a password.
I noticed while starting the server that there is too much services as N/A, why is that? not configured ? or not installed ? or what ?
9 REPLIES 9
Ivan Krastev
Honored Contributor

Re: Strange login

Try to login as root and see whats in /var/adm/syslog/syslog.log file.



cheers,
ivan
Calandrello
Trusted Contributor

Re: Strange login

Friend I did not understand well its very doubts. you do not obtain to make login? voce this trying way telnet or SSH?
simon_164
Super Advisor

Re: Strange login

I am trying to login through telnet and console. Same thing for both, the system is giving me the error "login incorrect" before even putting the password.
Calandrello
Trusted Contributor

Re: Strange login

Friend I find that its GSP this with password. case you does not have the password voce can restart the console physically. it exists in the back part schemes has a button of reset, holds pressed for 5 sgundos that it anger to come back the GSP to the way default.
simon_164
Super Advisor

Re: Strange login

NO man it is not the GSP.
And for the third time: the system is giving me "login incorrect" before putting the password.
for the username I type root then i type enter then i get the error without even asking for the password.
Calandrello
Trusted Contributor

Re: Strange login

does not exist access to the certain S.O? case is this you needs that to place it schemes it in mono and to verify what this happening. lvol of full SO can have in schemes one.
simon_164
Super Advisor

Re: Strange login

yes, nothing. I cannot log in with root or anyother username.
I am thinking of logging in with single user mode and then trying to change or update or install a new passwd file.

Anyone has any idea?
Yang Qin_1
Honored Contributor

Re: Strange login

Is it possible that your /etc/passwd file corrupted? I mean maybe somebody manually modified that file? If you cannot logon from a terminal and / or from console, then maybe your last choise is boot the system to single user mode (interrupt autoboot, type bo pri answer "Y" for ISL at ISL prompt type hpux -is) this way it will logon on as root. You then do the following:
mount /usr
mv /etc/passwd /etc/oldpwd
cp /usr/newconfig/etc/passwd /etc/passwd
chmod 444 /etc/passwd
passwd root

and create your new root passwd. Then reboot your system. normally, you should be able to logon as root from console and you can recovery / restore the last good /etc/passwd from your backup tape or from Ignite backup.

Yang
Calandrello
Trusted Contributor

Re: Strange login

if you passwd will have one saved and a good one.