我有一个装有Ubuntu 18.04的VPS。
在每次成功登录user时root
,系统都会提示我:
Changing password for root.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
root@ubuntu...*:~#
当我检查密码的到期日期时:
root@ubuntu...*:~# chage -l root
Last password change : Jan 30, 2019
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 14600
Number of days of warning before password expires : 14
怎么了?我想选择一个永久密码。
起伏时刻。
原因是,这一直是另一个开放的ssh会话。通过关闭该密码,密码重置请求将停止。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句