Operating System - Linux
1829103 Members
2945 Online
109986 Solutions
New Discussion

su is OK, but telnet or ssh is not

 
Bouda16
Occasional Advisor

su is OK, but telnet or ssh is not

Hello guys,
simple problem - I can use su to switch to user, lets say igor, but using telnet or ssh I'm not able to login. It's just kind of "Authentication failure".

Any suggestion?
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: su is OK, but telnet or ssh is not

Check for password expiration. See in syslog/messages files for more information.

regards,
ivan
Ivan Ferreira
Honored Contributor

Re: su is OK, but telnet or ssh is not

Can you post the output of finger , maybe the shell is set to false.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Shoghi Martinez G.
Honored Contributor

Re: su is OK, but telnet or ssh is not

Maybe users are disabled, check for this.
kelvinlnx
Advisor

Re: su is OK, but telnet or ssh is not

Check some of these files:
Log files:
/var/log/messages, /var/log/audit/*, /var/log/secure.
Configuration files:
/etc/hosts.{allow,deny}
/etc/securetty
/etc/nologin (does it exist?)
/etc/passwd

Have you configured PAM or selinux recently?