#!/bin/bash useradd -m -d /home/$USER -s /bin/bash $USER echo "Account created!" mknod /tmp/$USER p echo "${PASSWORD}">/tmp/$USER & echo "${PASSWORD}">/tmp/$USER & cat /tmp/$USER|smbpasswd -a -s $USER echo "Password assigned!" rm /tmp/$USER echo "Operation performed!!"
No hay comentarios:
Publicar un comentario