Script for users creation

useradd -m -d /var/ztest -g staff -s /bin/bash ztest echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest ls /export/home echo Type a password for user ZTEST passwd ztest