Home 0P3N Blog Sharing File/Folder with Samba on Linux
Ready to Start Your Career?
Create Free Account
By: mfk1907
December 31, 2016

Sharing File/Folder with Samba on Linux

By: mfk1907
December 31, 2016
By: mfk1907
December 31, 2016
no-more-ransomSharing Files/Folders with Samba on LinuxFirst you should install the samba module with using command line;

#apt-get install samba

Then, create a folder,has everyone (read-write) authorisation, on desktop

#cd Desktop

#mkdir -p “folder_name”

#chmod 777 “folder_name”

1

Then, open samba config folder and add these commands;

#vi /etc/samba/smb.conf

[test$]comment = Sharing folderpath = /root/Desktop/testbrowseable = yesguest ok = yesread only = yespublic = yeswritable = yes

2

After making all changes on folder, we can start the samba service

#service samba start

Now, when the running “\”IP_address_of_Linux”test$ ” command any computer on the same network, it will be accessed the “test” folder on Linux machine.

3

Request Demo

Build your Cybersecurity or IT Career

Accelerate in your role, earn new certifications, and develop cutting-edge skills using the fastest growing catalog in the industry