Results 1 to 3 of 3

Thread: Controlling a Samba User

  1. #1
    Join Date
    Aug 2009
    Location
    United States
    Beans
    151
    Distro
    Ubuntu Development Release

    Controlling a Samba User

    Hello world. I host a server on a home network and have a folder I want to control access to. My understanding is that I can make a new samba user, with a password, to limit access to any particular share.

    Here is where my question comes. To make this samba user, it is tied to making a user on the server itself. I REALLY don't want the user to have access to the server; to be able to have an option to login from the server's monitor, or to even have a "Home" drive. All I want is a "guest account" that is passworded, a folder users can access using samba. I do not want them to have ANY OTHER access to the server.

    I am concerned that creating a "samba user" will not meet my goals. Thank you for helping me.

  2. #2
    Join Date
    Aug 2009
    Location
    United States
    Beans
    151
    Distro
    Ubuntu Development Release

    Re: Controlling a Samba User

    bump

  3. #3
    Dangertux is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,771
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Controlling a Samba User

    You can use the following command to add a user with no home directory and no shell access.

    Code:
    sudo useradd -g usersgroup -d /dev/null -s /dev/null user
    Hope that helps.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •