aix系统的Oracle 用户突然用ssh登录不了,总是显示ssh服务器拒绝了密码,但是oracle用户的密码绝对是正确的,而且用root进行ssh登录是正常,用root更改了Oracle密码,用Oracle账号还是登陆不了,将Oracle账号的密码改成和root账号一致,但是在etc/security/passwd下面显示的root和oracle 密文密码不一致,哪位大神遇到过或知道发生这种情况的原因
aix的密码hash使用了salt,所以密码相同,/etc/security/password显示的也不一定一样。
Salt is a two-character string (the 12 bits of the Salt is used to perturb the DES algorithm) chosen from the character set "A-Z", "a-z","0-9","."(period) and "/". Salt is used to vary the hashing algorithm, so that the same clear text password can produce 4,096 possible password encryptions.
检查下最近有没有进行什么操作,或者安全加固之类的。
考虑到root可以ssh登录,但是oracle无法ssh登陆,检查下sshd_config配置文件,或者oracle账号的配置文件。
解决了,谢谢,的确是Oracle被锁了,我网上查了好多资料,按照Oracle用户被锁的解决方法将/etc/security/lastlog里面Oracle用户的unsuccessful_login_count 置为0就可以重新用Oracle用户登录了
收起