📌  相关文章
📜  在 linux 中以交互方式更改或设置密码提示 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:51.981000             🧑  作者: Mango

代码示例1
#Eventually, I decided to rebuild my Docker images, so that I change the root password by something I will know.

RUN echo 'root:Docker!' | chpasswd
#or
RUN echo 'Docker!' | passwd --stdin root