Operating System - HP-UX
1753518 Members
5087 Online
108795 Solutions
New Discussion юеВ

strange remote login problem after change root passwd

 
SOLVED
Go to solution
Dean at Edag
Occasional Advisor

strange remote login problem after change root passwd

Hello, where I work, we have any number of hpux machines that we have always been able to telnet into remotely. Then one day I began changing the root password while logged in remotely. Now, it's only possible to get in as root on the local console. We need it back the way it was. Does anyone know what might have happened?
Thanks, Dean
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: strange remote login problem after change root passwd

Dean,

Check for the existence and contents of a file called /etc/securetty. Have you tried telnet'ing as a regular user and su'ing to root?


Pete

Pete
Dean at Edag
Occasional Advisor

Re: strange remote login problem after change root passwd

Yes, I forgot to mention, telnetting in as a regular user and su'ing into root doesn't work either. But I will check for that file. Thanks.
Pete Randall
Outstanding Contributor
Solution

Re: strange remote login problem after change root passwd

Hmm, the /etc/securetty file would limit the login to just he console but would not stop you from su'ing. Does the new password have any special characters, like # and @?


Pete

Pete
Dean at Edag
Occasional Advisor

Re: strange remote login problem after change root passwd

Yes, our new password has an '@' in it. Is that a problem? It works locally. I never heard of that. Thanks!!!
Dean at Edag
Occasional Advisor

Re: strange remote login problem after change root passwd

OK Man passwd, I got it, thanks!!!

@=kill.
Dean at Edag
Occasional Advisor

Re: strange remote login problem after change root passwd

yes, the '@' char kills all characters typed before it.
Steven Schweda
Honored Contributor

Re: strange remote login problem after change root passwd

> @=kill.

"man stty". Many of the HP-UX default
settings cause trouble in many environments.