Operating System - HP-UX
1748128 Members
3579 Online
108758 Solutions
New Discussion юеВ

Re: login works via ssh but not via telnet

 
Go to solution
Brett Simpson
Frequent Advisor

Re: login works via ssh but not via telnet

Mel,
I am using the same password on both. This is only helping with some user accounts. My personal non-root account works just fine via ssh or telnet.

I would think that rules out the emulator issue. I definitely need to check the .profile.
Dennis Handly
Acclaimed Contributor

Re: login works via ssh but not via telnet

>I would think that rules out the emulator issue.

I.e. no uses of # or @.
Steven E. Protter
Exalted Contributor

Re: login works via ssh but not via telnet

Shalom again Brett.

If both systems are under your control, safely eliminate the password (ssh only).

http://www.hpux.ws/?p=10

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
Anoop P_2
Regular Advisor

Re: login works via ssh but not via telnet

Check the entry in password file for those users who can login using ssh but not telnet:

user1:x:uid:gid:GECOS:home:shell

That x here would mean the account is not setup with a password at all, so they cant telnet.

check user home directory/.ssh folder for keys, mostly you'll find ssh keys that are setup, so user can login using keys.
Shankar_6
Regular Advisor

Re: login works via ssh but not via telnet

Hi,

check for ur /etc/profile..may be it has something that denies login to specific user (in ur case it is root)..

if there is a console entry in ur /etc/securetty file then u cannot do a direct root login ..(need use su or sudo ..).In this case u can login as root only on console and not by telnet..