1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

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

This commit is contained in:
Xatrekak 2023-02-12 14:21:01 -05:00
parent 13df828ca7
commit 42a5f1956e

View File

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