zsh: Set password on first login

This commit is contained in:
2024-04-22 14:11:19 +02:00
parent 00d68fdcb8
commit cc447fb2c8

View File

@@ -1,5 +1,9 @@
source /etc/profile source /etc/profile
if [[ "$(passwd --status $USER | awk '{print $2}')" =~ ^(NP|L)$ ]] ; then
sudo passwd $USER
fi
_path=( _path=(
"$HOME/bin" "$HOME/bin"
"$HOME/.cargo/bin" "$HOME/.cargo/bin"