Josh Schumacher: A PHP Developer

The biggest and the best in the Northwest

Josh Schumacher: A PHP Developer random header image

Enable Samba Access For A User (Linux)

October 23rd, 2009 · 1 Comment

If you are attempting to connect to a samba (smb) share and you are denied, there’s a high probability your user account hasn’t been granted access to the samba server yet. To grant a user access use the smbpasswd command line tool.

  1. SSH to the samba server
  2. Log in as root
  3. smbpasswd -a username
  4. Enter password (twice) – no characters will appear on the screen

Interesting note: if you aren’t logged in as root, the smbpasswd command line tool can be used to change you samba password.

Tags: linux

1 response so far ↓

  • 1 awthime // Dec 15, 2010 at 3:11 am

    “To grant a user access use the smbpasswd command line tool.”
    How much is it possible?

Leave a Comment