Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/fstab: static file system information.
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- proc /proc proc defaults 0 0
- # /dev/hdb1
- UUID=09b91878-683a-41d1-8670-ec5231bc017c / ext3 defaults,errors=remount-ro,relatime 0 1
- # /dev/hdb5
- UUID=a60323d9-9ca0-431e-90f8-e36dd842a8a5 none swap sw 0 0
- /dev/hda /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
- /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
- # Samba
- //192.168.1.3/share /network/buffalo smbfs credentials=/etc/samba/credentials,uid=1000,gid=100,noperm 0 0
- # "Server" = Samba server (by IP or name if you have an entry for the server in your hosts file
- # "share" = name of the shared directory
- # "user" = your samba user
- # 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.
- # replace "user=user" with "credentials=/etc/samba/credentials" In the credentials file put two lines
- # user=user
- # password=password
- # 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