GithubHelp home page GithubHelp logo

ebome-scripts's Introduction

Explanation

The goal of this repository is to facilitate and automate the implementation of a series of rules that are to be incorporated in Ebomé hospital.

Due to the misuse of computers by the hospital staff, the measures to be taken are as follows:

  • Disable USB ports, as they are a source of virus.
  • Remove internet access, but still have access to the hospital's local network in order to use the health informatics service.

There are two types of computers in the hospital: PCs with Windows and Raspberrys with OpenSuse, a Linux distribution. We will use different methods for each case.

Windows

  1. We will disable the USB ports following this guide, concretely the first step.
  2. We will remove internet access manually changing the DNS IP address.

Raspberry Pi

  1. We will disable the USB ports following this guide.
  2. We will remove internet access with the firewall iptables, disabling the connection with both the gateway and the DNS server. The rules are present in the the after.local file, which will be placed in the path /etc/init.d of the Raspberrys and will be executed every time the rasp boots.

It will be enouth to copy and paste the following commands in the terminal:

sudo zypper install git-core
git clone https://github.com/clarriu97/ebome-scripts

# Copy the file `after.local` a path where will be executed each time the system is booted
sudo cp ebome-scripts/after.local /etc/init.d/after.local

# Give the file execution permissions
sudo chmod +x /etc/init.d/after.local

# Disable USB moving the driver location to the user workspace
sudo mv /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko /home/gnuhealth

# Remove the repository
rm -rf ebome-scripts

sudo reboot

ebome-scripts's People

Watchers

Carlos Larriu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.