Project of a virtual machines network (with the virtual machines being files) and creation of commands usable when connected to a machine.
The project is as we sent it to the teacher, we won't touch it anymore.
If you want to run it, go to the folder where rvsh.sh script is located as all paths are relative.
You can have the list of command by calling the script with the help option:
rsvh -help
This mode will allow the user to connect to the machine with his username.
Use this command:
rvsh -connect machine_name user_name
This mode will allow the administrator to manage the list of connected machines and the list of users.
Use this command:
rvsh -admin
These will be the numbers returned by functions (from verfications.sh) to indicate if it's ok or not.
0 No error
1 Invalid number of arguments or invalid arguments
2 The machine doesn't exist
3 The user doesn't exist
4 The user doesn't have access to the machine
5 The password isn't correct
6 The username and/or the machine name isn't only composed of miniscules and digits