How do I add a user to a Samba (SMB) share?

Updated -

One way for a user to browse a Samba share is have a UNIX account on the Samba server. This is done via the commands adduser [username] and passwd [username]

Once the user has a local account their Samba password can be initalised by:

smbpasswd -a [username]

The -a switch adds [username] to the Samba pass...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content