From 4873d92d7d09a0836b8a6536667f21a94da2cf32 Mon Sep 17 00:00:00 2001 From: borekon Date: Fri, 9 May 2025 08:17:15 +0200 Subject: [PATCH] Actualizar new.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copia de los archivos bashrc y bash_aliases al usuario creado, ya que si ha sido creado desde la instalación de Debian, dichos archivos son los originales --- new.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/new.sh b/new.sh index 0c246c5..3ae8c49 100644 --- a/new.sh +++ b/new.sh @@ -13,5 +13,7 @@ echo -e "${YELLOW}Nuevo usuario: ${NC}" read usuario adduser $usuario usermod -aG sudo $usuario +cp /etc/skel/.bashrc /home/$usuario/ +cp /etc/skel/.bash_aliases /home/$usuario/ wget -q -O- https://avc.cx/ifaces | bash echo -e "${GREEN}Hecho. Reinicia${NC}" \ No newline at end of file