Linux Temporary User

Date: 2016-07-04
username=temp1

if id -u "$username" >/dev/null 2>&1; then	
	userdel -rf $username
fi
useradd -m -U $username
echo "new user: $username"
passwd $username
su - $username << EOF 
cd && pwd
EOF
2310cookie-checkLinux Temporary User