Advertisement
Guest User

Untitled

a guest
May 30th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. # /etc/fstab: static file system information.
  2. #
  3. # <file system> <mount point> <type> <options> <dump> <pass>
  4. proc /proc proc defaults 0 0
  5. # /dev/hdb1
  6. UUID=09b91878-683a-41d1-8670-ec5231bc017c / ext3 defaults,errors=remount-ro,relatime 0 1
  7. # /dev/hdb5
  8. UUID=a60323d9-9ca0-431e-90f8-e36dd842a8a5 none swap sw 0 0
  9. /dev/hda /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
  10. /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
  11. # Samba
  12. //192.168.1.3/share /network/buffalo smbfs credentials=/etc/samba/credentials,uid=1000,gid=100,noperm 0 0
  13.  
  14. # "Server" = Samba server (by IP or name if you have an entry for the server in your hosts file
  15. # "share" = name of the shared directory
  16. # "user" = your samba user
  17. # This set up will ask for a password when mounting the samba share. If you do not want to enter a password, use a credentials file.
  18. # replace "user=user" with "credentials=/etc/samba/credentials" In the credentials file put two lines
  19.  
  20. # user=user
  21.  
  22. # password=password
  23.  
  24. # make the file owned by root and ro by root (sudo chown root.root /etc/samba/credentials && sudo chmod 400 /etc/samba/credentials)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement