Operating System - HP-UX
1850463 Members
1545 Online
104054 Solutions
New Discussion

No utmp entry. You must exec "login" from the lowest level "sh"

 
Bill Slaughter
Occasional Contributor

No utmp entry. You must exec "login" from the lowest level "sh"

I have looked on the forum, and the protection /ownership of my /etc/utmp file is correct.
644 root:root

This problem has just started, after maintenance (cabling, new F/W cards).

Any suggestions?

Thank you in advance.
4 REPLIES 4
Lasse Knudsen
Esteemed Contributor

Re: No utmp entry. You must exec "login" from the lowest level "sh"

Where do you get this.

Have you changed any suid programs (eg. dtterm ) ?
In a world without fences - who needs Gates ?
Rainer_1
Honored Contributor

Re: No utmp entry. You must exec "login" from the lowest level "sh"

reset your utmp

>/etc/utmp
Shannon Petry
Honored Contributor

Re: No utmp entry. You must exec "login" from the lowest level "sh"

Did you install spaceware?
I have seen this lots of times. There installer creates an entry in /etc/inittab which needs to be modified. (You dont mention it, so probably not) but here is the change.
spbd:234:respawn:/etc/SpaceWare/spaceballd -d /dev/tty1p0
to
spbd:234:respawn:/etc/SpaceWare/spaceballd -d /dev/tty1p0 /dev/null 2>&1

If not, reset the utmp file by copying /dev/null . I.E. cp /dev/null /etc/utmp. chown root:root /etc/utmp; chmod 644 /etc/utmp. You may need to redo this for /etc/utmpx if you still have problems.

Regards,
Shannon
Microsoft. When do you want a virus today?
Brad Marks
Super Advisor

Re: No utmp entry. You must exec "login" from the lowest level "sh"

I'm running HP-UX 10.20 and had this problem only with the modem ports. I learned that /etc/inittab's first entry (id) has to be four characters in length. I changed a4 to a004 and the error went away.

Hope this (maybe) helps,
Brad
It's not impossible -- it'll just cost more...