System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

su is OK, but telnet or ssh is not

 
Highlighted
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
Highlighted
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
Highlighted
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?
Highlighted
Honored Contributor

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

Maybe users are disabled, check for this.
Highlighted
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?