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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.