Changes

Linux CIFS Utils and Samba

739 bytes added, 20:03, 10 April 2020
/* SMB protocol versions */
The following lines were added (+) and removed (-):
=== Slightly improved security with credentials=filename ===You can now Substitute your Windows username and password in the fstab command by specifying "credentials."  Then file permissions can be used to restrict read access to the still plain text passwords in the credentials file.  using credentials=filename specifies a file that contains a username and/or password. This is preferred over having passwords in plaintext in a shared file, such as /etc/fstab. Be sure to protect any credentials by saving the file (as root) to /root/, and chmod 600. cd echo username=mywindowsusername > /root/.smbpasswd echo password=mywindowspassword >> /root/.smbpasswd chmod 600 /root/.smbpasswdThen in fstab credentials=/root/.smbpasswd
Bureaucrat, administrator
16,192
edits