I have a web console in AIX, but | (pipe stream), » and > do not work. How can I reset my password for account xx.
method 1
1 2 3 4 5 6 7
mkdir /home/xx/.ssh ssh-keygen -t rsa -P password -f /home/xx/.ssh/id_rsa (ssh-keygen -t rsa -P '' -f /home/xx/.ssh/id_rsa not work since no passphase) cp id_rsa.pub authorized_keys chmod 600/home/xx/.ssh/authorized_keys chown -R xx:sms /home/xx/.ssh chmod 700/home/xx/.ssh cat /home/xx/.ssh/id_rsa(then copy and paste in web console, save as id_rsa, then save as private key in putty)
I try different account to login system, grant sudo right to this account, change the password using pwdadm and passwd, but when I login with putty, found that Access denied. When I run su - user, found “3004-303 There have been too many unsuccessful login attempts; please see the system administrator”, found the root cause, after google, easy two steps can sovle it.
1 2
- /usr/sbin/lsuser -a unsuccessful_login_count user - /usr/bin/chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s user