Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Telnet/rlogin error HPUX 11.00

Norman Dignard
Regular Advisor

Telnet/rlogin error HPUX 11.00

When we try to login we get
No utmp entry. You must exec "login" from the lowest level "sh". Console login is fine.

The problem stems from a host rename. One of our apps still thought the box was the old hostname doing a file grep for the old host name we found utmp, wtmp and btmp stiil had references to the old hostname even after a reboot.

We've cleared the wtmp and utmp files. Created a new /etc/utmp file as well as rebooted but still get the same rlogin error.

Any ideas on how to fix this?


6 REPLIES
Mel Burslan
Honored Contributor

Re: Telnet/rlogin error HPUX 11.00

How did you change the name of the server ? Using set_parms utility or just by editing configuration files ? If you did the latter, I strongly advise you to use the set_parms utility before pulling any more of your hair.
________________________________
UNIX because I majored in cryptology...
Norman Dignard
Regular Advisor

Re: Telnet/rlogin error HPUX 11.00

Actually did both. First time changing netconf, second time via set_parms.
Yang Qin_1
Honored Contributor

Re: Telnet/rlogin error HPUX 11.00

Can you have a look at /usr/bin/login and see if it is seuid root? Or as a test chmod 666 /etc/utmp and login again.

Yang
Patrick Wallek
Honored Contributor

Re: Telnet/rlogin error HPUX 11.00

Have a look at the following TKB document. This should help you.

Submitted Date: 11/27/03
Title: No utmp entry. You must exec "login" from the lowest level "sh".
Document ID: KBRC00013729
Last Modified Date: 8/4/05
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079991950
Yogeeraj_1
Honored Contributor

Re: Telnet/rlogin error HPUX 11.00

hi Normand,

Also make sure that you have the latest patch bundles for hp-ux 11.0 installed (https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=QUALITYPACK&date=).

or the individual patches for:

PHCO_33609 : libc cumulative patch
PHCO_25796 : cumulative patch for /sbin/init
PHNE_26096 : telnet kernel and telnetd(1M) patch
PHCO_19701 : tsm(1) cumulative patch
PHSS_30010 : CDE Runtime Patch


hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Norman Dignard
Regular Advisor

Re: Telnet/rlogin error HPUX 11.00

changed the e/etc/services file for init.d entry