Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username=samba_user
- password=samba_user_password
- sudo chmod 0400 /etc/samba/user # permissions of 0400 = read only
- sudo mkdir /media/samba_share
- sudo cp /etc/fstab /etc/fstab.bak
- gksu gedit /etc/fstab
- //myserver_ip_address/myshare /media/samba_share cifs credentials=/etc/samba/user,noexec 0 0
- sudo mount /media/samba_share
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement