mardi, décembre 23, 2014

Linux : Mount samba share permanently




sudo apt-get install  samba cifs-utils


edit /etc/fstab

//192.168.0.70/SHARE   /home/nomorgan/FOO       cifs    user,rw,uid=FOO_USER,gid=FOO_USERGROUP,file_mode=0777,dir_mode=0777,iocharset=utf8,credentials=/root/.smbcredentials        0        0

edit /root/.smbcredentials
username=xxxx
password=xxxx


sudo mount -a




https://wiki.ubuntu.com/MountWindowsSharesPermanently



Aucun commentaire: