Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
/ LO14_Project Public archive

Project of a virtual machines network (with the virtual machines being files) and creation of commands usable when connected to a machine.

License

Notifications You must be signed in to change notification settings

Zalk0/LO14_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LO14_Project

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.

List of Commands

You can have the list of command by calling the script with the help option:

rsvh -help

Mode connect

This mode will allow the user to connect to the machine with his username.

Use this command:

rvsh -connect machine_name user_name

Mode admin

This mode will allow the administrator to manage the list of connected machines and the list of users.

Use this command:

rvsh -admin

Error codes

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

About

Project of a virtual machines network (with the virtual machines being files) and creation of commands usable when connected to a machine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages