Difference between revisions of "SAMBA - Create User"

From wiki.1001solutions.net
(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...")
 
Line 10: Line 10:
  
 
# with the 'bash' shell
 
# with the 'bash' shell
adduser --shell /bin/bash 'name'
+
adduser --shell /bin/bash USER
  
 
passwd USER
 
passwd USER

Revision as of 16:22, 30 March 2020



TO ADD 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)