Ready to Start Your Career?

Sharing File/Folder with Samba on Linux

mfk1907 's profile image

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

Schedule Demo