CONFIGURATION OF PRIVILEGES ON THE DEVICES

On all the devices, 6 users are configured, as mentioned in a previous task, and an additional user called admin, which is used by the team members. This is the only user with sudo privileges. To enable logs, by default, Linux logs are recorded in the file /var/log/auth.log. It may not be active, although normally … Read more

USER CREATION ON ALL DEVICES

The system we used to easily create users on all machines was by adding a few lines of code inside the Vagrantfile. The lines are as follows: echo “Creant usuaris…”      for user in super major operador tecnic anonim; do              if ! id “$user” &>/dev/null; then  # Comprova si l’usuari no existeix               sudo … Read more

INSTALLATION PLANNING

SCRIPT 1 → First of all, we take a USB with the ISO we want to install — in our case, it’s DEBIAN.2 → Once we have the USB with the ISO loaded, we enter the BIOS of our computer and change the boot option so it starts from the USB with the ISO.3 → … Read more

INSTALLATION AND CONFIGURATION OF THE REQUIRED SOFTWARE

SSH  sudo apt update && sudo apt upgrade -y sudo apt install openssh-server -y  sudo systemctl status ssh sudo systemctl start ssh sudo systemctl enable ssh ssh usuario@ip_del_servidor RDP  sudo apt update sudo apt upgrade sudo apt install xrdp -y echo “startxfce4” > ~/.xsession sudo systemctl restart xrdp sudo adduser xrdp ssl-cert sudo systemctl enable … Read more

OBTAINING THE REQUIRED SOFTWARE

April 28, 2025 by msucias We have installed several Debian packages in case we ever lose internet access and cannot download anything. These are: Now I will set up a Samba server so that all the devices on the network can download from it: We set the necessary permissions: sudo chmod 750 /usr/share/sintesisudo chown :smb_group … Read more

MACHINE DEPLOYMENT SYSTEM

The system we will use to deploy the machines is with the Vagrantfile. First of all, to create the virtual machine we will use the –provision flag, since that way all the extra configurations we added to the Vagrantfile are saved. Once the VM has been created, we will stop using –provision when starting it. … Read more

INSTALLATION PROCESS

The only OS we will use is Debian. 1 → First of all, we open our Vagrantfile located in the synthesis folder. 2 → Next, as an example, we configure the Client with the Debian OS so that it boots with a GUI. 3 → Once it is configured, we create the VM as follows. … Read more

BASIC OS CONFIGURATION

Since the configurations we are setting up need to be duplicated, we are using a method that allows us to create machines without having to go through the entire installation process from scratch. In our case, we are using the Vagrantfile. PermissionsRegarding permissions, only the root and admin users will have full access to everything.To … Read more