Skip to content
Snippets Groups Projects
Commit 41fd55dd authored by Mike Smith's avatar Mike Smith
Browse files

node users setup

parent b6842d45
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
## script to create 40 users called userXX with a default password
## and setup up ssh logins without asking for passwords & host checking
n=40
for i in `seq -w 1 ${n}`
do
echo $i;
## create n new user called userXX and create default password
adduser --gecos "" --disabled-password user${i}
echo user${i}:SoftwareC | chpasswd
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment