[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

File Sharing in Ubuntu


i need a solution for secure file sharing from ubuntu computer to other windows and linux clients across lan.

i need to from clients to access shared folders from ubntu ,  i should add users for each one need to access files with read or read write permissions.

how to do this ?

i righted click the shared folder and tried to add users like windows but i failed.

 would u help me please?  
1 Solution
You should either add the users as local users on the ubuntu server or set up the ubuntu server to authenticate users to your windows AD via Samba and then they will be able to access the share
As explained by lidder, you have to create the users on the ubuntu server.

The users can authenticated on Ubuntu machine itself.
You could then run a ftp server to allow the users access to the files on the Ubuntu.
Ensure that firewall rules on the Ubuntu machine allow ftp
service to pass through.

You can create the users on your ubuntu machine locally,

if you have allready installed samba and smbfs, then remember to use "smbpasswd -a (username)" command since it is easily forgotten by most when creating users.
However if you miss the windows way of sharing, samba has a wide array of GUI (Guided user interface) where you easily can click your way to your goal. I suggest using "System-config-Samba" Package to start with. You can find it here:

john-6789Author Commented:

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now