Mount LinuxCIFS share
Mount CIFS with the default local filesystem permissions:
# mkdir /mnt/cifs
# mount -tcifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount -tcifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
OR
# mount.cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
Where,
- username=shareuser : specifies the CIFS user name.
- password=sharepassword : specifies the CIFS password. If this option is not given then the environment variable PASSWD is used. If the password is not specified directly or indirectly via an argument tomount, mount will prompt for a password, unless the guest option is specified.
- domain=nixcraft : sets the domain (workgroup) of the user
//192.168.1.1/tools /tools cifs defaults,auto,username=administrator,password=123.com 0 0
10.10.107.238:/FileDepot /mnt/238 nfs ro,auto 0 0
10.10.107.198:/home/software /mnt/198 nfs ro,auto 0 0
//10.10.107.237/security /mnt/237/security cifs ro,auto,username=security,password=***** 0 0