Skip to content

Instantly share code, notes, and snippets.

@kejadlen
Created July 25, 2012 15:05
Show Gist options
  • Save kejadlen/3176650 to your computer and use it in GitHub Desktop.
Save kejadlen/3176650 to your computer and use it in GitHub Desktop.
/etc/fstab:
//foo/bar /mnt/foo cifs rw,uid=1000,gid=1000,auto,file_mode=0644,dir_mode=0755,credentials=/root/.smb_credentials 0 0
/root/.smb_credentials:
username=foo
password=bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment