File Sharing in Ubuntu

Posted on 2011-05-05
Last Modified: 2012-05-11

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?  
Question by:john-6789
    LVL 18

    Expert Comment

    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
    LVL 12

    Expert Comment

    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.
    LVL 2

    Accepted Solution


    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:

    Author Closing Comment


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now