Le reti bridged e macvtap sono due tecnologie utilizzate per connettere le VM alle reti fisiche in modo diverso. Ecco una spiegazione delle differenze principali: Bridged Networking Descrizione: Una rete bridged connette direttamente l’interfaccia di rete della VM alla rete fisica dell’host attraverso un bridge (ponte). Il bridge funziona come uno switch di rete virtuale,…
Read more
The vulnerability named “regreSSHion” (CVE-2024-6387) affects the OpenSSH daemon (sshd) from versions 8.5p1 to 9.8p1. Discovered and reported by Qualys, this flaw allows unauthenticated remote code execution by exploiting an insecure asynchronous function called when LoginGraceTime expires. Affected Ubuntu Versions Ubuntu 22.04 LTS Ubuntu 23.10 Ubuntu 24.04 LTS Previous versions are not impacted. Resolution Update…
Read more
BasicAuth for Microsoft Office365 is deprecated. But if you have a WebDav share in your lan that use the user/password auth method you can add your domain to a “BasicAllowList” on your Office settings. To add your domain in your Office365 you need to edit your Windows Registy via regEdit. Suppose you have Xtumble as…
Read more
Firebird 5.0 brings with it a remarkable series of improvements from many points of view, from performance to security to the management of parallel backups and restores. You can find these well described at the following link: https://ib-aid.com/en/articles/detailed-new-features-of-firebird-5-part-1-improvements-in-optimizer. So, let’s get down to business, let’s install Firebird 5.0 on a nice Ubuntu 22.04 machine in…
Read more
Set up an Access Point in minutes with Ubuntu / Linux usually even without a graphical interface.
Install samba server:
1 |
sudo apt install samba |
backup config filee:
1 |
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup |
create a shared folder for your user, like:
1 |
mkdir /home/<username>/mmyshare |
edit samba config file:
1 |
nano /etc/samba/smb.conf |
replace all smb.conf with this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = standalone server obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdate$ pam password change = yes map to guest = bad user usershare allow guests = yes [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no [mysharename] comment = public anonymous access path = /home/<username>/mmyshare browsable =yes create mask = 0660 directory mask = 0771 writable = yes guest ok = no |
restart samba:
1 |
sudo systemctl restart smbd |
associarte a samba password to your systemm user:
1 |
sudo smbpasswd -a <username> |
restart samba:
1 |
sudo systemctl restart smbd |
Mount your share in MS Windows via shell by create a new…
Read more