SAMBA - Create User

From wiki.1001solutions.net
Revision as of 17:24, 30 March 2020 by Z (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



To add a user:

# with no shell
adduser --shell /bin/false USER

# with the 'bash' shell
adduser --shell /bin/bash USER

passwd USER
(Then enter the password)

smbpasswd -a USER
(Then enter the password)