mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Changed mechanism used to set gns3 user password that works on all shells.
This commit is contained in:
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
|
chown root:root /etc/systemd/system/getty@tty1.service.d/override.conf
|
||||||
|
|
||||||
echo "python3 /usr/local/bin/welcome.py" >> /opt/gns3/.bashrc
|
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 --shell /bin/bash gns3
|
||||||
usermod -aG sudo gns3
|
usermod -aG sudo gns3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user