Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/fstab:
- # /etc/fstab: static file system information.
- #
- # Use 'blkid -o value -s UUID' to print the universally unique identifier
- # for a device; this may be used with UUID= as a more robust way to name
- # devices that works even if disks are added and removed. See fstab(5).
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- proc /proc proc nodev,noexec,nosuid 0 0
- /dev/sda1 / ext4 errors=remount-ro 0 1
- # swap was on /dev/sda5 during installation
- UUID=09a1b18b-49fe-4842-807c-6c835daaf68f none swap sw 0 0
- //192.168.1.205/shares /mnt/share smbfs uid=root,gid=users,dir_mode=0775,file_mode=0775 0 0
- /etc/samba/smb.conf:
- # Samba config file created using SWAT
- # from UNKNOWN (127.0.0.1)
- # Date: 2011/05/22 07:56:17
- [global]
- workgroup = klown
- netbios name = kyle-Presario
- server string = %h server (Samba, Ubuntu)
- security = user
- map to guest = Bad User
- obey pam restrictions = Yes
- guest account = kyle
- pam password change = Yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
- unix password sync = Yes
- syslog = 0
- log file = /var/log/samba/log.%m
- max log size = 1000
- dns proxy = No
- #usershare allow guests = Yes
- panic action = /usr/share/samba/panic-action %d
- #guest ok = yes
- #username map = /etc/samba/smbusers
- encrypt passwords = yes
- #usershare owner only = false
- [printers]
- comment = All Printers
- path = /var/spool/samba
- create mask = 0700
- printable = Yes
- browseable = No
- [print$]
- comment = Printer Drivers
- path = /var/lib/samba/printers
- [Share]
- path = /mnt/sharewin
- writeable = yes
- browseable = yes
- #guest ok = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement