SAMBA - Create User

From wiki.1001solutions.net
Revision as of 15:22, 30 March 2020 by Z (talk | contribs) (Created page with "Category:Post-It <nowiki> TO ADD USER # with no shell adduser --shell /bin/false USER # with the 'bash' shell adduser --shell /bin/bash 'name' passwd USER (Then ent...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



TO ADD USER

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

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

passwd USER
(Then enter the password)

smbpasswd -a USER
(Then enter the password)