mirror of
https://github.com/casjaysdevdocker/webmin
synced 2025-01-18 00:34:33 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/04-users.sh
This commit is contained in:
parent
7872350c62
commit
edf37e8312
@ -24,10 +24,10 @@ set -o pipefail
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Set env variables
|
||||
exitCode=0
|
||||
|
||||
PASSWORD="${ROOT_PASS:-password}"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Predifined actions
|
||||
echo "password" | passwd "root" --stdin
|
||||
echo -e "$PASSWORD\n$PASSWORD" | passwd "root"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Main script
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user