Create manage_users.sh

Simple BASH, intercative script to manage users in GNU/Linux systems (tested on Debian and Debian derivatives) using useradd and deluser tools 

In order to make this script work, you need to add secondary groups first (before executing it) and you need to prepare a textfile "userlist"
The script needs the "userlist" file, in order to know usernames, with their respective secondary groups and default passwords

Text file "userlist" must contain these data in the the following format

alice def_pass1 secondary_group_name
bob def_pass2 secondary_group_name
carol def_pass3 secondary_group_name_2

To force users to change their default password, please, do not forget to modify /etc/default/useradd in order to set "EXPIRE=" environment variable at 0, before executing this script

This script was written as a part of my <a href=http://downloads.tuxfamily.org/glanux/pdf/projets/ProjetBTS.pdf title=ProjetBTS.pdf>school project</a> (French) and this is a slightly modified version