Results 1 to 3 of 3

Thread: samba add user

  1. #1
    Join Date
    Jul 2007
    Beans
    19

    samba add user

    I'm trying to create a user account for samba so that I can connect to it via Windows XP. How do I do this?

    I'm on 07.04

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: samba add user

    To setup a password for your ubuntu user:
    Code:
    sudo smbpasswd -a your-user-name
    To create a new samba user:
    Code:
    sudo useradd username
    sudo smbpasswd -a username

  3. #3
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: samba add user

    you're probably better off adding samba users that don't have shell access like so:
    Code:
    sudo useradd -s /bin/true username
    sudo smbpasswd -L -a username
    sudo smbpasswd -L -e username

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
  •