UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit bf8d6e94 authored by Brandee Lymoncollins's avatar Brandee Lymoncollins
Browse files

Add new file

parent 1ab93477
No related merge requests found
#!/bin/bash
# kali
#Purpose:To automate user creation
mkdir -p /home/useraccounts
for (( i=1; i<=23; i++ ))
do
#so this script will create student1, student2, student3 etc depending on "i"
useradd -g sudo -s /bin/bash -d /home/useraccounts/student$i -m -p $(echo password$i | openssl passwd -1 -stdin) student$i
done
#Install Koadic
apt-get upgrade -y && apt-get update -y
apt install koadic -y
done
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment