If you are a Ubuntu user, then you are likely familiar with the Samba network share. Samba is a free and open source software that allows users to share files and printers between their computers. Samba is not just for Ubuntu users, though. It can be used on other Linux distributions as well. In this article, we will show you how to create a Samba user on Ubuntu. First, create a new user account on your computer. This will be your main account for working with the Samba network share. You can use this account to access the shares that you create in the future. Next, install the Samba software on your computer. This can be done by using one of the many repositories that are available online. Once it has been installed, open a terminal and type: sudo apt-get update sudo apt-get install samba


I’m assuming that you’ve already installed Samba Server at this point.

There are two steps to creating a user. First we’ll run the smbpasswd utility to create a samba password for the user.

Next, we’ll add that username to the smbusers file.

Add in the following line, substituting the username with the one you want to give access to. The format is = “”. You can use a different samba user name to map to an ubuntu account, but that’s not really necessary right now.

Now you can create samba shares and give access to the users that you listed here.