passwd-fix
This commit is contained in:
parent
7e53dd7ddb
commit
a3bb20af75
1 changed files with 4 additions and 2 deletions
|
@ -753,8 +753,8 @@ function abfrage() {
|
||||||
m2ssddevice=y
|
m2ssddevice=y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#read -p "Which password should the root receive ?: root " pass
|
read -p "Which password should you receive ?: user1 " pass
|
||||||
#[[ -z "${pass}" ]] && pass=root
|
[[ -z "${pass}" ]] && pass=user1
|
||||||
|
|
||||||
read -p "Which file system should be used? [BTRFS/ext4] " dateisystem
|
read -p "Which file system should be used? [BTRFS/ext4] " dateisystem
|
||||||
[[ -z "${dateisystem}" ]] && dateisystem=btrfs
|
[[ -z "${dateisystem}" ]] && dateisystem=btrfs
|
||||||
|
@ -1116,6 +1116,8 @@ if [ "${name}" != "noinstall" ]; then
|
||||||
#usermod -d /home/"${name}" -m "${name}"
|
#usermod -d /home/"${name}" -m "${name}"
|
||||||
chfn -f "${name}" user1
|
chfn -f "${name}" user1
|
||||||
passwd user1
|
passwd user1
|
||||||
|
${pass}
|
||||||
|
${pass}
|
||||||
EOT
|
EOT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue