From 42a5f1956e3aa2be58276e6b5411688f9378b588 Mon Sep 17 00:00:00 2001 From: Xatrekak Date: Sun, 12 Feb 2023 14:21:01 -0500 Subject: [PATCH] Changed mechanism used to set gns3 user password that works on all shells. --- scripts/remote-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remote-install.sh b/scripts/remote-install.sh index 8fdf6efe..61c2e179 100644 --- a/scripts/remote-install.sh +++ b/scripts/remote-install.sh @@ -326,7 +326,7 @@ chmod 755 /etc/systemd/system/getty@tty1.service.d/override.conf chown root:root /etc/systemd/system/getty@tty1.service.d/override.conf echo "python3 /usr/local/bin/welcome.py" >> /opt/gns3/.bashrc -echo "gns3" | passwd gns3 --stdin +echo "gns3:gns3" | chpasswd usermod --shell /bin/bash gns3 usermod -aG sudo gns3