
运维服务
docker离线安装
一、准备工作:确认架构并下载安装包 1.1 确认目标服务器架构 在目标服务器上执行以下命令,确认系统架构: 输出 x8664:对应 amd64 架构(Intel/AMD 64位服务
You are required to change your password immediately (password aged) Last login: Fri May 29 21:00:54 2020 from 10.16.202.178 Welcome to aliyun Elastic Compute Service! WARNING: Your password has expired. You must change your password now and login again! Changing password for user suoper. Changing password for suoper. (current) UNIX password: New A+b+4+! password: Retype new A+b+4+! password: passwd: all authentication tokens updated successfully.在(current) UNIX password: 里输入的是原密码,后面两次就是修改后的密码进行验证。验证通过显示更新成功。如果密码的过期时间太短可以修改
sed -i 's/PASS_MAX_DAYS\t60/PASS_MAX_DAYS\t180/g' /etc/login.defs默认的是60天,修改成180天。这里使用到tab格式进行替换,sed替换的时候tab的字符串是"\t"。
评论 0