[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SWAT e configurazione di Samba [era: /etc/services reload]




Il 20/01/21 11:21, Lorenzo Breda ha scritto:
Il giorno mer 20 gen 2021 alle ore 11:01 Luca Sighinolfi <lsighinolfi@autistici.org> ha scritto:
Le cose che non mi convincono sono:
1. chi ha accesso ha il controllo totale del PC
2. chiunque abbia accesso al PC può collegarsi al mio (poiché ho
impostato
il certificato). O sbaglio?

1. No. Puoi restringere un certo utente (o un gruppo) in modo che possa accedere solo sftp e non ssh. Tua moglie però dovrebbe avere un account diverso dal tuo (magari in uno stesso gruppo così da poter dare i permessi in lettura al gruppo sui file).
2. No, ma ti sei già risposto da solo: certificato con password

Non ho ancora capito se il PC di tua moglie è Windows o Linux, comunque. Nel secondo caso samba ha senso fino a un certo punto.

Da notare che SSH è una scelta consigliatissima e dalle prestazioni ottime (oramai la crittografia è come il prezzemolo, va messa dappertutto). Cito infatti le conclusioni di https://blog.ja-ke.tech/2019/08/27/nas-performance-sshfs-nfs-smb.html

In trusted home networks NFS without encryption is the best choice on Linux for maximum performance. If you want encryption i would recommend SSHFS, it is a much simpler setup (compared to Kerberos), more cpu efficient and often only slightly slower than plaintext NFS. Samba/SMB is also not too far behind, but only really makes sense in a mixed (Windows/Linux) environment.


Reply to: