Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change or set password interactively in linux

#change the root password 

RUN echo 'root:Docker!' | chpasswd
#or
RUN echo 'Docker!' | passwd --stdin root 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #set #password #interactively #linux
ADD COMMENT
Topic
Name
6+8 =