Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #####################################
- # Este script muestra la direccion IP y el usuario y contraseña
- # Echo por: Emanuel Malfatti - ejmalfatti@outlook.com
- #####################################
- IP=$(hostname -I)
- DISTRO=$(lsb_release -sd)
- echo "$DISTRO \n \l" > /etc/issue
- echo " " >> /etc/issue
- echo "Direccion IP: $IP" >> /etc/issue
- echo "Usuario:server" >> /etc/issue
- echo "Contraseña: server" >> /etc/issue
- echo " " >> /etc/issue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement