HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to login into a HP-UX box

 
SOLVED
Go to solution
sagi_1
Advisor

Not able to login into a HP-UX box

Hi,

I am not able to login inot a HP-UX box.

everything seems to be alright at the console. I could connect to the server,but when i give the root password, the server doesnot prompt for the password.

Please suggest.

Regards,
Sagar.
13 REPLIES
Torsten.
Acclaimed Contributor

Re: Not able to login into a HP-UX box

Unfortunately there must be always one who is asking for more details ...

"when i give the root password, the server doesnot prompt for the password"

This sounds to me like you are doing something wrong.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor
Solution

Re: Not able to login into a HP-UX box

Shalom,

Look at /var/adm/syslog/syslog.log

It might provide clues.

Many companies have policies against direct root login. Try logging in as a regular user and then try:

su - root


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
sagi_1
Advisor

Re: Not able to login into a HP-UX box

I am trying to login into the server. For that matter, if i enter any username, there is no response from the server.

Its like the below

login:opssup
----blank-----

No matter how much time iwait for the prompt...there is no response...
sagi_1
Advisor

Re: Not able to login into a HP-UX box

i have already checked the syslog.log file...but there are no related messages...not only direct root..i am not able to login using any user..
Torsten.
Acclaimed Contributor

Re: Not able to login into a HP-UX box

Are your user information stored locally (passwd) or via NIS, LDAP or whatever? Did you check all the IP settings (route/gateway, ...)?

Does this all happens for "normal" network connections (e.g. telnet/ssh) or even on the console?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sagi_1
Advisor

Re: Not able to login into a HP-UX box

i am able to logininto the server at console...this is happening when i am logging into the server using ssh
Jayaprakash Subramanian
Frequent Advisor

Re: Not able to login into a HP-UX box

sagi,

1. Did you get the same problem while using telnet/rlogin?.

2. Is the problem occurs for all the users or for root users only?

If the problem arise only on using ssh, then there should be some restrictions done on ssh.
else check any customized entry in /etc/security/access.config. By default all the lines are commented in this file or check the PermitRootLogin entry in /opt/ssh/etc/sshd_config

-JP
RUET
Regular Advisor

Re: Not able to login into a HP-UX box

Can be also
a file system full on / or /tmp or /var/tmp
or swap space full
or nproc table full

pat
V. Nyga
Honored Contributor

Re: Not able to login into a HP-UX box

>this is happening when i am logging into the server using ssh

Can you ping the server?
Can you telnet to the server?
Can you rlogin to the server?

Volkmar
*** Say 'Thanks' with Kudos ***
sagi_1
Advisor

Re: Not able to login into a HP-UX box

telnet is disabled...so i am trying to ssh to the server....also...i have below entry in my netconf file....

DEFAULT_INTERFACE_MODULES="pfil "

even if i clear the entry and reboot the server...it appears again....does this have anything to do woth my problem...

the issue is the same with all users...
T G Manikandan
Honored Contributor

Re: Not able to login into a HP-UX box

I would suggest to try the following:

* check using the ipaddress from ssh client
* check /etc/profile and .profile for the root user, might be something there.
Avinash20
Honored Contributor

Re: Not able to login into a HP-UX box

Hi Sagar.

To eradicate the issue,

enable telnet login and try to login via root

# cat /etc/inetd.conf |grep telnetd
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd


Uncomment it

# inetd -c

Reread it and then check if telnet is possible,
If yes, then we need to troubleshoot from the ssh part.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
sagi_1
Advisor

Re: Not able to login into a HP-UX box

Due to the time limitations,we had to proced with the rebuild of the box.

Thanks for the support provided.

Regards,
Sagar.