赞
踩
今天在dbca创建db的时候,发现两个节点的cluster只显示一个节点,随想ssh到另外一个node查看GI情况,发现如下错误。Your password has expired.使用chage -M -1 crsusr可以解决这个问题
crsusr@slcz01db03 bin]$ ssh slcz01db04 You are required to change your password immediately (password aged) Last login: Fri Jun 5 20:30:33 MDT 2020 from slcz01db03.us.oracle.com on pts/0 Last login: Fri Jun 5 20:31:23 2020 from slcz01db03.us.oracle.com WARNING: Your password has expired. You must change your password now and login again! Changing password for user crsusr. Changing password for crsusr. (current) UNIX password: New password: BAD PASSWORD: The password is too similar to the old one New password: BAD PASSWORD: The password is too similar to the old one New password: BAD PASSWORD: No password supplied [root@slcz01db04 ~]# change -l crsusr -bash: change: command not found [root@slcz01db04 ~]# chage -l crsusr Last password change : Dec 20, 2019 Password expires : Feb 18, 2020 Password inactive : never Account expires : never Minimum number of days between password change : 1 Maximum number of days between password change : 60 Number of days of warning before password expires : 7 [root@slcz01db04 ~]# chage -M -1 crsusr [root@slcz01db04 ~]# chage -l crsusr Last password change : Dec 20, 2019 Password expires : never Password inactive : never Account expires : never Minimum number of days between password change : 1 Maximum number of days between password change : -1 Number of days of warning before password expires : 7
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。