Fstab Samba cifs

 

//192.168.1.4/public/ /mnt/public cifs credentials=/home/cz3dtc/.smbcredentials,vers=1.0,noauto,noperm,uid=1000,gid=1000,user,file_mode=0777,dir_mode=0777,iocharset=utf8,_netdev,sec=ntlm 0 0 
//192.168.1.4/public-2TB /mnt/public-2tb cifs credentials=/home/cz3dtc/.smbcredentials,vers=1.0,noauto,noperm,uid=1000,gid=1000,user,file_mode=0777,dir_mode=0777,iocharset=utf8,_netdev,sec=ntlm 0 0 

root@cz3dtc:/etc# cat /home/cz3dtc/.smbcredentials
username=admin
password=*****


(Poslouchání na síti)

ngrep passwd= | grep --color passwd=