Skip to content

CenOS7命令行修改密码

shell
# 密码为当天的日期, eg. 20230516
echo `date +%Y%m%d` | passwd --stdin root