Monday, June 17, 2013

[HOW TO] Create Samba User

If the Samba share you're trying to access doesn't allow guest users, you must have an Samba account. This article will show how to create a new Samba user account using the command line.

Create Samba User

Open a terminal window and run the command bellow. Replace USER with a name for your new Samba user. You'll be prompted for the password to get root privileges, then you'll be asked for a password for your new Samba user.

sudo smbpasswd -a USER


  1. That explains why, when i tried to make a sharing folder or stuff like that, terminal would ask me for my password and i always got it wrong :P i just made my account and it works now thanks