Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- apt-get install whois
- username="clample"
- pass="changeme"
- useradd -p "$(mkpasswd "$pass")" -d /home/"$username" -m -g users -s /bin/bash "$username"
- echo "${username} ALL = (ALL) ALL" >> /etc/sudoers
Add Comment
Please, Sign In to add comment