User Tools

Site Tools


tips:addbundleusers_scripts

This is an old revision of the document!


#/bin/bash
 
 
#  by cbustillo@uclv.edu.cu
 
# user pass
PASS="hpcusers2016"
 
# add users
 
for i in {1..30} ; do
echo "Adding user${i} to the system..."
useradd user${i} -m -p `openssl passwd -1 ${PASS}` -s /bin/bash
 
#echo "Addding user${i} to sudo group..."
#usermod -a -G sudo user${i}
done
tips/addbundleusers_scripts.1456496312.txt.gz · Last modified: 2016/02/26 09:18 by cbustillo@uclv