Advertisement
klown

Untitled

May 22nd, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. /etc/fstab:
  2.  
  3. # /etc/fstab: static file system information.
  4. #
  5. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  6. # for a device; this may be used with UUID= as a more robust way to name
  7. # devices that works even if disks are added and removed. See fstab(5).
  8. #
  9. # <file system> <mount point> <type> <options> <dump> <pass>
  10. proc /proc proc nodev,noexec,nosuid 0 0
  11. /dev/sda1 / ext4 errors=remount-ro 0 1
  12. # swap was on /dev/sda5 during installation
  13. UUID=09a1b18b-49fe-4842-807c-6c835daaf68f none swap sw 0 0
  14. //192.168.1.205/shares /mnt/share smbfs uid=root,gid=users,dir_mode=0775,file_mode=0775 0 0
  15.  
  16.  
  17.  
  18. /etc/samba/smb.conf:
  19.  
  20. # Samba config file created using SWAT
  21. # from UNKNOWN (127.0.0.1)
  22. # Date: 2011/05/22 07:56:17
  23.  
  24. [global]
  25. workgroup = klown
  26. netbios name = kyle-Presario
  27. server string = %h server (Samba, Ubuntu)
  28. security = user
  29. map to guest = Bad User
  30. obey pam restrictions = Yes
  31. guest account = kyle
  32. pam password change = Yes
  33. passwd program = /usr/bin/passwd %u
  34. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  35. unix password sync = Yes
  36. syslog = 0
  37. log file = /var/log/samba/log.%m
  38. max log size = 1000
  39. dns proxy = No
  40. #usershare allow guests = Yes
  41. panic action = /usr/share/samba/panic-action %d
  42. #guest ok = yes
  43. #username map = /etc/samba/smbusers
  44. encrypt passwords = yes
  45. #usershare owner only = false
  46.  
  47. [printers]
  48. comment = All Printers
  49. path = /var/spool/samba
  50. create mask = 0700
  51. printable = Yes
  52. browseable = No
  53.  
  54. [print$]
  55. comment = Printer Drivers
  56. path = /var/lib/samba/printers
  57.  
  58. [Share]
  59. path = /mnt/sharewin
  60. writeable = yes
  61. browseable = yes
  62. #guest ok = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement