1. create a file named /root/.ntfs_share to look like this
username=xyz
password=Password1
2. change its permissions to 600
3. edit /etc/fstab and make an entry just like the following:
//servername/sharename /home/abc/mountpoint cifs auto,credentials=
/root/.ntfs_share,uid=500,gid=500,file_mode=0775,dir_mode=0775 0 0
4. mount with mount -a command.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment