Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # kvn_useradd
- username="$1"
- useradd -d /home/$username -m -s /bin/bash $username
- passwd $username
- echo -n "Grupos adicionais(separados por virgula): "
- read $other_groups
- usermod -a -G $other_groups $username
Add Comment
Please, Sign In to add comment