Samba Tutorial (Centos 7) - samba share with password

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=7K68SWbGgzM



Category:
Tutorial
Duration: 4:47
6,328 views
20


samba - how to share folder with password protected on Centos 7.

step :
1) sudo gedit /etc/samba/smb.conf
[centos_share]
path = /var/www/html/
browsable = yes
writable = yes
guest ok = yes
read only = no
create mode = 0777
directory mode = 0777
valid user = moko

2) sudo smbpasswd -a moko
3) sudo systemctl restart smb.service
sudo systemctl restart smb.service

4) try to open your shared folder. it will display dialogbox to enter username and password.




Other Videos By Ambar Hasbiyatmoko


2017-04-25Problem installing laravel(Ubuntu) - phpunit/phpunit 57 requires ext dom the requested PHP extension
2017-04-24Android Studio Error - android.os.NetworkOnMainThreadException
2017-04-24Android Studio Error - Cannot resolve symbol 'DefaultHttpClient'
2017-04-23VirtualBox - Connect guest to guest (Ubuntu and Centos7)
2017-04-22PHP tutorial : run C program from PHP on Ubuntu
2017-04-21Block port (SSH) on centos7 with IPTables
2017-04-20Install + Running Phpmyadmin on nginx (Ubuntu 16.04)
2017-04-19Install Arduino IDE on Ubuntu 16.04 from terminal
2017-04-19Tutorial Arduino Dasar - nyalain lampu LED arduino dengan koding
2017-04-19Arduino error (Ubuntu) - avrdude: ser_open(): can't open device "COM1": No such file or directory
2017-04-18Samba Tutorial (Centos 7) - samba share with password
2017-04-16Can't install Arduino (Ubuntu16.04) - xdg mime: file 'lin/cc.arduino.arduinoide.xml' does not exist
2017-04-16Phpmyadmin Tutorial - Create a user and grant privileges only their own databases
2017-04-15Membuat server web sendiri (laptop + ubuntu 16.04) menggunakan ISP firstmedia
2017-04-14Samba (Centos 7) - install and share folder from centos 7 to windows 7
2017-04-13Setting codeigniter in subfolder on nginx (ubuntu 16.04)
2017-04-12Codeigniter error (ubuntu) - mysqli::real connect: HY000/1698: Access denied user 'root'@'localhost'
2017-04-12Codeigniter (Ubuntu 16.04) - The Encrypt library requires the Mcrypt extension.
2017-04-11Install Android Studio on Ubuntu 16.04
2017-04-10Samba (centos - windows7) : Windows cannot access centos. You do not have permission to access.
2017-04-10Displaying PHP errors when : The localhost page isn’t working (on Ubuntu)



Tags:
centos
samba
share
folder
directory
password
protected
network
linux
user