Skip to content

Instantly share code, notes, and snippets.

@mcjwsk
Last active August 29, 2015 14:06
Show Gist options
  • Save mcjwsk/11be9d95b943f2b4e6c5 to your computer and use it in GitHub Desktop.
Save mcjwsk/11be9d95b943f2b4e6c5 to your computer and use it in GitHub Desktop.
CIFS share auto mount for /etc/fstab
username=[username]
password=[password]
domain=[domain]
//[ip]/[dir] /media/[mount] cifs credentials=/etc/.cifspwd,file_mode=0777,dir_mode=0777,iocharset=utf8 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment