From 0ad41bda7e3d793d1e7b03818bbe7a24b107d1a1 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 3 Feb 2023 04:57:48 -0500 Subject: [PATCH] Update debian-v5-install.sh --- install/debian-v5-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/debian-v5-install.sh b/install/debian-v5-install.sh index 8b91ef93..20ceae97 100644 --- a/install/debian-v5-install.sh +++ b/install/debian-v5-install.sh @@ -85,8 +85,7 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" echo "export TERM='xterm-256color'" >>/root/.bashrc -passwd -S root | grep -q "P" -if [ $? -ne 0 ]; then +if ! getent shadow root | grep -q "^root:[^\!*]"; then msg_info "Customizing Container" chmod -x /etc/update-motd.d/* touch ~/.hushlogin