Changed mechanism used to set gns3 user password that works on all shells.

pull/2185/head
Xatrekak 1 year ago
parent 13df828ca7
commit 42a5f1956e

@ -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

Loading…
Cancel
Save